You are on page 1of 32

[root@docker yum.repos.

d]# subscription-manager register


Registering to: subscription.rhn.redhat.com:443/subscription
Username: mukesh@taashee.com
Password:
The system has been registered with ID: 8d416505-cf2b-4e0f-9211-83d4d5ccd1e6

[root@docker yum.repos.d]# subscription-manager list --available


+-------------------------------------------+
Available Subscriptions
+-------------------------------------------+
Subscription Name: Red Hat Enterprise Linux OpenStack Platform Self-Supported Business Partner NFR
Provides: Red Hat OpenStack Beta Certification Test Suite
Red Hat OpenStack Beta
Red Hat Software Collections (for RHEL Server)
Red Hat Ceph Storage Calamari
Red Hat Enterprise MRG Messaging
Red Hat OpenStack Certification Test Suite
Red Hat Beta
Red Hat Ceph Storage MON
Red Hat Ceph Storage
Red Hat OpenStack
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux High Availability (for RHEL Server)
Red Hat Certification (for RHEL Server)
Red Hat Software Collections Beta (for RHEL Server)
Red Hat Enterprise Linux Load Balancer (for RHEL Server)
SKU: SER0418
Contract: 10725548
Pool ID: 8a85f9834e0ab187014e26cdf84c1908
Provides Management: Yes
Available: Unlimited
Suggested: 1
Service Level: Self-Support
Service Type: L1-L3
Subscription Type: Standard
Ends: 06/17/2016
System Type: Virtual

Subscription Name: Red Hat Enterprise Linux OpenStack Platform Standard Supported Business Partner NFR
Provides: Red Hat OpenStack Beta
Red Hat OpenStack Beta Certification Test Suite
Red Hat Software Collections (for RHEL Server)
Red Hat Ceph Storage Calamari
Red Hat Enterprise MRG Messaging
Red Hat OpenStack Certification Test Suite
Red Hat Beta
Red Hat Ceph Storage MON
Red Hat Ceph Storage
Red Hat OpenStack
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux High Availability (for RHEL Server)
Red Hat Software Collections Beta (for RHEL Server)
Red Hat Enterprise Linux Load Balancer (for RHEL Server)
SKU: SER0441
Contract: 10725548
Pool ID: 8a85f9834e0ab187014e26ce1ba21a77
Provides Management: Yes
Available: 105
Suggested: 1
Service Level: Standard
Service Type: L1-L3
Subscription Type: Standard
Ends: 06/17/2016
System Type: Physical

Subscription Name: Red Hat Ceph Storage Business Partner Self-Supported NFR, (8 Physical Nodes)
Provides: Red Hat Enterprise Linux Scalable File System (for RHEL Server)
Red Hat Software Collections (for RHEL Server)
Red Hat Ceph Storage OSD
Red Hat Ceph Storage MON
Red Hat Ceph Storage
Red Hat Ceph Storage Calamari
Red Hat Enterprise Linux Server
SKU: RS00020
Contract: 10725564
Pool ID: 8a85f9834e0ab187014e26ce1cfe1abf
Provides Management: No
Available: 186
Suggested: 1
Service Level: Self-Support
Service Type: L1-L3
Subscription Type: Standard
Ends: 06/17/2016
System Type: Physical

Subscription Name: Red Hat Enterprise Linux Standard Support Business Partner NFR
Provides: Oracle Java (for RHEL Server) - AUS
Oracle Java (for RHEL Client)
Red Hat Enterprise Linux High Performance Networking (for RHEL for IBM POWER) - Extended Update
Support
Red Hat EUCJP Support (for RHEL Server)
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for SAP
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
MRG Realtime
Red Hat EUCJP Support (for RHEL Server) - Extended Update Support
Oracle Java (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux High Performance Networking (for RHEL Compute Node)
Red Hat Developer Toolset (for RHEL for IBM POWER)
Red Hat Enterprise Linux Resilient Storage (for RHEL Server)
Red Hat Container Images
Red Hat Certificate System
Red Hat S-JIS Support (for RHEL Server) - Extended Update Support
Red Hat S-JIS Support (for RHEL Server)
Red Hat Enterprise Linux Scalable File System (for RHEL Server)
Oracle Java (for RHEL Compute Node) - Extended Update Support
Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux Atomic Host Beta
Red Hat Enterprise Linux Scalable File System (for RHEL Workstation)
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support
Red Hat Software Test Suite 5 (for RHEL Server)
Red Hat Directory Server
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support
Red Hat Software Collections (for RHEL Client)
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux High Performance Networking (for RHEL Server)
Red Hat Enterprise Linux Load Balancer (for RHEL Server)
Red Hat Hardware Certification Test Suite
Red Hat Developer Toolset (for RHEL Server)
Red Hat Software Collections Beta (for RHEL Workstation)
Red Hat Software Collections (for RHEL Workstation)
Red Hat Software Collections (for RHEL Server)
Oracle Java (for RHEL Workstation)
Red Hat Enterprise Linux High Performance Networking (for RHEL for IBM POWER)
Red Hat Enterprise Linux for SAP Hana
Red Hat Enterprise Linux Server - Extended Update Support
Red Hat Beta
Oracle Java (for RHEL Compute Node)
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended Update Support
Oracle Java (for RHEL Server)
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux Atomic Host
Red Hat Developer Toolset (for RHEL Workstation)
Red Hat Enterprise Linux for Scientific Computing
Red Hat Container Images Beta
Red Hat Developer Toolset (for RHEL Server EUS)
Red Hat Software Collections Beta (for RHEL Client)
Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux Scalable File System (for RHEL Compute Node)
Red Hat Enterprise Linux High Availability (for RHEL Server)
Red Hat Enterprise Linux Server
Red Hat Certification (for RHEL Server)
Red Hat Software Collections Beta (for RHEL Server)
SKU: RH3310120
Contract: 10725550
Pool ID: 8a85f9834e0ab187014e26ce10461a16
Provides Management: Yes
Available: 158
Suggested: 1
Service Level: Standard
Service Type: L1-L3
Subscription Type: Stackable
Ends: 06/17/2016
System Type: Virtual

Subscription Name: JBoss Business Partner Self-Supported NFR


Provides: Red Hat OpenShift Enterprise JBoss EAP add-on Beta
Red Hat JBoss A-MQ Clients
Red Hat OpenShift Enterprise JBoss EAP add-on
JBoss Enterprise Application Platform
JBoss Enterprise Web Server
SKU: SER0295
Contract: 10726383
Pool ID: 8a85f9834e0ab187014e29f75e53525b
Provides Management: No
Available: Unlimited
Suggested: 1
Service Level: Self-Support
Service Type: L1-L3
Subscription Type: Standard
Ends: 06/17/2016
System Type: Physical

Subscription Name: Red Hat Enterprise Linux Standard Support Business Partner NFR
Provides: Oracle Java (for RHEL Server) - AUS
Oracle Java (for RHEL Client)
Red Hat Enterprise Linux High Performance Networking (for RHEL for IBM POWER) - Extended Update
Support
Red Hat EUCJP Support (for RHEL Server)
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for SAP
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
MRG Realtime
Red Hat EUCJP Support (for RHEL Server) - Extended Update Support
Oracle Java (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux High Performance Networking (for RHEL Compute Node)
Red Hat Developer Toolset (for RHEL for IBM POWER)
Red Hat Enterprise Linux Resilient Storage (for RHEL Server)
Red Hat Container Images
Red Hat Certificate System
Red Hat S-JIS Support (for RHEL Server) - Extended Update Support
Red Hat S-JIS Support (for RHEL Server)
Red Hat Enterprise Linux Scalable File System (for RHEL Server)
Oracle Java (for RHEL Compute Node) - Extended Update Support
Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux Atomic Host Beta
Red Hat Enterprise Linux Scalable File System (for RHEL Workstation)
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support
Red Hat Software Test Suite 5 (for RHEL Server)
Red Hat Directory Server
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support
Red Hat Software Collections (for RHEL Client)
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux High Performance Networking (for RHEL Server)
Red Hat Enterprise Linux Load Balancer (for RHEL Server)
Red Hat Hardware Certification Test Suite
Red Hat Developer Toolset (for RHEL Server)
Red Hat Software Collections Beta (for RHEL Workstation)
Red Hat Software Collections (for RHEL Workstation)
Red Hat Software Collections (for RHEL Server)
Oracle Java (for RHEL Workstation)
Red Hat Enterprise Linux High Performance Networking (for RHEL for IBM POWER)
Red Hat Enterprise Linux for SAP Hana
Red Hat Enterprise Linux Server - Extended Update Support
Red Hat Beta
Oracle Java (for RHEL Compute Node)
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended Update Support
Oracle Java (for RHEL Server)
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux Atomic Host
Red Hat Developer Toolset (for RHEL Workstation)
Red Hat Enterprise Linux for Scientific Computing
Red Hat Container Images Beta
Red Hat Developer Toolset (for RHEL Server EUS)
Red Hat Software Collections Beta (for RHEL Client)
Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux Scalable File System (for RHEL Compute Node)
Red Hat Enterprise Linux High Availability (for RHEL Server)
Red Hat Enterprise Linux Server
Red Hat Certification (for RHEL Server)
Red Hat Software Collections Beta (for RHEL Server)
SKU: RH3310120
Contract: 10725550
Pool ID: 8a85f9834e0ab187014e26ce0fae19c1
Provides Management: Yes
Available: 2
Suggested: 1
Service Level: Standard
Service Type: L1-L3
Subscription Type: Stackable
Ends: 06/17/2016
System Type: Physical

Subscription Name: Red Hat Enterprise Virtualization Business Partner Supported NFR (10 sockets/25 desktops)
Provides: Red Hat Enterprise Virtualization for IBM Power
JBoss Enterprise Application Platform
Red Hat Enterprise Virtualization
SKU: RV0121237
Contract: 10725549
Pool ID: 8a85f9834e0ab187014e26cded22189d
Provides Management: No
Available: 5
Suggested: 1
Service Level: Standard
Service Type: L1-L3
Subscription Type: Standard
Ends: 06/17/2016
System Type: Physical

Subscription Name: Red Hat Satellite Business Partner Standard Support NFR
Provides: Red Hat Satellite Capsule Beta
Red Hat Beta
Red Hat Software Collections (for RHEL Server)
Red Hat Satellite Capsule
Red Hat Satellite 6 Beta
Red Hat Satellite Beta
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux High Availability (for RHEL Server)
Red Hat Satellite
Red Hat Software Collections Beta (for RHEL Server)
Red Hat Enterprise Linux Load Balancer (for RHEL Server)
SKU: SER0303
Contract: 10900131
Pool ID: 8a85f981534107530153419b42870377
Provides Management: Yes
Available: 2
Suggested: 1
Service Level: Standard
Service Type: L1-L3
Subscription Type: Standard
Ends: 03/03/2017
System Type: Virtual

Subscription Name: 90 Day Self-Supported Red Hat JBoss Web Server with Management Evaluation
Provides: Red Hat JBoss A-MQ Clients
JBoss Enterprise Application Platform
JBoss Enterprise Web Server
Red Hat Enterprise MRG Messaging
SKU: MW0299927
Contract: 10907072
Pool ID: 8a85f9815378b06e015379e84efd77d3
Provides Management: No
Available: Unlimited
Suggested: 1
Service Level: Self-Support
Service Type: L1-L3
Subscription Type: Standard
Ends: 06/12/2016
System Type: Physical

Subscription Name: Red Hat Enterprise Linux OpenStack Platform Standard Supported Business Partner NFR
Provides: Red Hat OpenStack Beta
Red Hat OpenStack Beta Certification Test Suite
Red Hat Software Collections (for RHEL Server)
Red Hat Ceph Storage Calamari
Red Hat Enterprise MRG Messaging
Red Hat OpenStack Certification Test Suite
Red Hat Beta
Red Hat Ceph Storage MON
Red Hat Ceph Storage
Red Hat OpenStack
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux High Availability (for RHEL Server)
Red Hat Software Collections Beta (for RHEL Server)
Red Hat Enterprise Linux Load Balancer (for RHEL Server)
SKU: SER0441
Contract: 10725548
Pool ID: 8a85f9834e0ab187014e26ce1c341a99
Provides Management: Yes
Available: Unlimited
Suggested: 1
Service Level: Standard
Service Type: L1-L3
Subscription Type: Standard
Ends: 06/17/2016
System Type: Virtual

Subscription Name: Red Hat Enterprise Linux OpenStack Platform Self-Supported Business Partner NFR
Provides: Red Hat OpenStack Beta Certification Test Suite
Red Hat OpenStack Beta
Red Hat Software Collections (for RHEL Server)
Red Hat Ceph Storage Calamari
Red Hat Enterprise MRG Messaging
Red Hat OpenStack Certification Test Suite
Red Hat Beta
Red Hat Ceph Storage MON
Red Hat Ceph Storage
Red Hat OpenStack
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux High Availability (for RHEL Server)
Red Hat Certification (for RHEL Server)
Red Hat Software Collections Beta (for RHEL Server)
Red Hat Enterprise Linux Load Balancer (for RHEL Server)
SKU: SER0418
Contract: 10725548
Pool ID: 8a85f9834e0ab187014e26cdf81618e5
Provides Management: Yes
Available: 107
Suggested: 1
Service Level: Self-Support
Service Type: L1-L3
Subscription Type: Standard
Ends: 06/17/2016
System Type: Physical

[root@docker yum.repos.d]# subscription-manager attach --pool=8a85f9834e0ab187014e26ce0fae19c1


Successfully attached a subscription for: Red Hat Enterprise Linux Standard Support Business Partner NFR

[root@docker yum.repos.d]# subscription-manager repos --disable "*"


Repository 'rhel-7-server-v2vwin-1-debug-rpms' is disabled for this system.
Repository 'rhel-rs-for-rhel-7-server-fastrack-debug-rpms' is disabled for this system.
Repository 'rhel-server-rhscl-7-eus-source-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-rh-common-rpms' is disabled for this system.
Repository 'rhel-ha-for-rhel-7-server-fastrack-rpms' is disabled for this system.
Repository 'rhel-rs-for-rhel-7-server-eus-rpms' is disabled for this system.
Repository 'rhel-7-server-rhcmsys-9-source-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-extras-rpms' is disabled for this system.
Repository 'rhel-7-server-satellite-tools-6.1-source-rpms' is disabled for this system.
Repository 'rhel-atomic-host-beta-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-rhn-tools-beta-rpms' is disabled for this system.
Repository 'rhel-7-server-supplementary-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-satellite-tools-6.1-debug-rpms' is disabled for this system.
Repository 'rhel-server-rhscl-7-beta-source-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-satellite-tools-6.1-debug-rpms' is disabled for this system.
Repository 'rhel-sap-for-rhel-7-server-source-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-source-rpms' is disabled for this system.
Repository 'rhel-7-server-beta-source-rpms' is disabled for this system.
Repository 'rhel-sjis-for-rhel-7-server-rpms' is disabled for this system.
Repository 'rhel-sjis-for-rhel-7-server-source-rpms' is disabled for this system.
Repository 'rhel-ha-for-rhel-7-server-eus-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-optional-beta-debug-rpms' is disabled for this system.
Repository 'rhel-rs-for-rhel-7-server-source-rpms' is disabled for this system.
Repository 'rhel-rs-for-rhel-7-server-fastrack-rpms' is disabled for this system.
Repository 'rh-gluster-3-client-for-rhel-7-server-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-optional-fastrack-debug-rpms' is disabled for this system.
Repository 'rhel-sap-hana-for-rhel-7-server-rpms' is disabled for this system.
Repository 'rhel-rs-for-rhel-7-server-eus-source-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-rh-common-debug-rpms' is disabled for this system.
Repository 'rhel-sjis-for-rhel-7-server-debug-rpms' is disabled for this system.
Repository 'rhel-ha-for-rhel-7-server-fastrack-debug-rpms' is disabled for this system.
Repository 'rhel-atomic-host-debug-rpms' is disabled for this system.
Repository 'rhel-ha-for-rhel-7-server-eus-rpms' is disabled for this system.
Repository 'rhel-ha-for-rhel-7-server-beta-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-satellite-tools-6.1-source-rpms' is disabled for this system.
Repository 'rhel-7-server-supplementary-beta-source-rpms' is disabled for this system.
Repository 'rhel-7-server-rt-beta-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-satellite-tools-6-beta-source-rpms' is disabled for this system.
Repository 'rhel-7-server-fastrack-source-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-rpms' is disabled for this system.
Repository 'rhel-7-server-thirdparty-oracle-java-beta-source-rpms' is disabled for this system.
Repository 'rhel-7-server-rt-beta-source-rpms' is disabled for this system.
Repository 'rhel-7-server-beta-rpms' is disabled for this system.
Repository 'rhel-7-server-optional-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-supplementary-source-rpms' is disabled for this system.
Repository 'rhel-sap-for-rhel-7-server-rpms' is disabled for this system.
Repository 'rhel-ha-for-rhel-7-server-source-rpms' is disabled for this system.
Repository 'rhel-7-server-rhceph-1.3-tools-debug-rpms' is disabled for this system.
Repository 'rhel-ha-for-rhel-7-server-eus-source-rpms' is disabled for this system.
Repository 'rhel-server-rhscl-7-eus-debug-rpms' is disabled for this system.
Repository 'rhel-sjis-for-rhel-7-server-eus-source-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-supplementary-rpms' is disabled for this system.
Repository 'rhel-7-server-rhds-10-debug-rpms' is disabled for this system.
Repository 'rhel-server-rhscl-7-rpms' is disabled for this system.
Repository 'rhel-7-server-rt-beta-rpms' is disabled for this system.
Repository 'rhel-7-server-rhn-tools-rpms' is disabled for this system.
Repository 'rhel-rs-for-rhel-7-server-debug-rpms' is disabled for this system.
Repository 'rhel-server-rhscl-7-beta-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-rhceph-1.3-tools-source-rpms' is disabled for this system.
Repository 'rhel-7-server-thirdparty-oracle-java-rpms' is disabled for this system.
Repository 'rhel-7-server-fastrack-rpms' is disabled for this system.
Repository 'rhel-sap-hana-for-rhel-7-server-beta-source-rpms' is disabled for this system.
Repository 'rhel-7-server-optional-fastrack-rpms' is disabled for this system.
Repository 'rhel-7-server-thirdparty-oracle-java-beta-rpms' is disabled for this system.
Repository 'rhel-atomic-host-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-rhn-tools-source-rpms' is disabled for this system.
Repository 'rhel-sap-hana-for-rhel-7-server-source-rpms' is disabled for this system.
Repository 'rhel-7-server-rt-debug-rpms' is disabled for this system.
Repository 'rhel-sap-for-rhel-7-server-beta-rpms' is disabled for this system.
Repository 'rhel-7-server-source-rpms' is disabled for this system.
Repository 'rhel-7-server-extras-source-rpms' is disabled for this system.
Repository 'rhel-7-server-openstack-7.0-tools-debug-rpms' is disabled for this system.
Repository 'rhel-atomic-host-source-rpms' is disabled for this system.
Repository 'rhel-atomic-host-beta-rpms' is disabled for this system.
Repository 'rhel-rs-for-rhel-7-server-beta-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-fastrack-debug-rpms' is disabled for this system.
Repository 'rhel-rs-for-rhel-7-server-rpms' is disabled for this system.
Repository 'rhel-atomic-host-beta-source-rpms' is disabled for this system.
Repository 'rhel-7-server-optional-source-rpms' is disabled for this system.
Repository 'rhel-7-server-rhn-tools-beta-debug-rpms' is disabled for this system.
Repository 'rhel-server-rhscl-7-beta-rpms' is disabled for this system.
Repository 'rhel-7-server-openstack-7.0-tools-rpms' is disabled for this system.
Repository 'rhel-7-server-satellite-tools-6-beta-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-satellite-tools-6.1-rpms' is disabled for this system.
Repository 'rhel-7-server-v2vwin-1-rpms' is disabled for this system.
Repository 'rhel-sap-for-rhel-7-server-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-cert-rpms' is disabled for this system.
Repository 'rhel-rs-for-rhel-7-server-eus-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-rh-common-beta-rpms' is disabled for this system.
Repository 'rhel-7-server-cert-source-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-optional-rpms' is disabled for this system.
Repository 'rhel-server-rhscl-7-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-extras-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-debug-rpms' is disabled for this system.
Repository 'rhel-server-rhscl-7-source-rpms' is disabled for this system.
Repository 'rhel-ha-for-rhel-7-server-beta-source-rpms' is disabled for this system.
Repository 'rhel-7-server-rhn-tools-beta-source-rpms' is disabled for this system.
Repository 'rhel-7-server-cert-beta-source-rpms' is disabled for this system.
Repository 'rhel-7-server-rh-common-rpms' is disabled for this system.
Repository 'rhel-7-server-rhcmsys-9-rpms' is disabled for this system.
Repository 'rhel-7-server-satellite-tools-6.1-rpms' is disabled for this system.
Repository 'rhel-7-server-rh-common-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-optional-source-rpms' is disabled for this system.
Repository 'rhel-sap-hana-for-rhel-7-server-beta-rpms' is disabled for this system.
Repository 'rhel-7-server-v2vwin-1-source-rpms' is disabled for this system.
Repository 'rhel-7-server-rh-common-beta-source-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-rh-common-source-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-supplementary-debuginfo' is disabled for this system.
Repository 'rhel-rs-for-rhel-7-server-fastrack-source-rpms' is disabled for this system.
Repository 'rhel-7-server-supplementary-beta-rpms' is disabled for this system.
Repository 'rhel-7-server-optional-beta-source-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-thirdparty-oracle-java-rpms' is disabled for this system.
Repository 'rhel-7-server-rh-common-source-rpms' is disabled for this system.
Repository 'rhel-rs-for-rhel-7-server-beta-source-rpms' is disabled for this system.
Repository 'rhel-7-server-hts-rpms' is disabled for this system.
Repository 'rhel-7-server-rhn-tools-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-rhn-tools-rpms' is disabled for this system.
Repository 'rhel-7-server-rpms' is disabled for this system.
Repository 'rhel-ha-for-rhel-7-server-rpms' is disabled for this system.
Repository 'rh-gluster-3-client-for-rhel-7-server-rpms' is disabled for this system.
Repository 'rhel-7-server-rh-common-beta-debug-rpms' is disabled for this system.
Repository 'rhel-server-rhscl-7-eus-rpms' is disabled for this system.
Repository 'rhel-7-server-supplementary-beta-debug-rpms' is disabled for this system.
Repository 'rh-gluster-3-client-for-rhel-7-server-source-rpms' is disabled for this system.
Repository 'rhel-7-server-rhcmsys-9-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-rt-source-rpms' is disabled for this system.
Repository 'rhel-sap-hana-for-rhel-7-server-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-optional-debug-rpms' is disabled for this system.
Repository 'rhel-ha-for-rhel-7-server-beta-rpms' is disabled for this system.
Repository 'rhel-7-server-rhn-tools-source-rpms' is disabled for this system.
Repository 'rhel-7-server-openstack-8-tools-source-rpms' is disabled for this system.
Repository 'rhel-7-server-openstack-8-tools-rpms' is disabled for this system.
Repository 'rhel-7-server-rhceph-1.3-tools-rpms' is disabled for this system.
Repository 'rhel-7-server-satellite-tools-6-beta-debug-rpms' is disabled for this system.
Repository 'rhel-sjis-for-rhel-7-server-eus-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-openstack-8-tools-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-thirdparty-oracle-java-source-rpms' is disabled for this system.
Repository 'rhel-7-server-rhds-10-rpms' is disabled for this system.
Repository 'rhel-7-server-cert-beta-rpms' is disabled for this system.
Repository 'rhel-sap-for-rhel-7-server-beta-debug-rpms' is disabled for this system.
Repository 'rhel-ha-for-rhel-7-server-fastrack-source-rpms' is disabled for this system.
Repository 'rhel-ha-for-rhel-7-server-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-supplementary-rpms' is disabled for this system.
Repository 'rhel-sap-for-rhel-7-server-beta-source-rpms' is disabled for this system.
Repository 'rhel-7-server-rt-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-thirdparty-oracle-java-source-rpms' is disabled for this system.
Repository 'rhel-7-server-optional-rpms' is disabled for this system.
Repository 'rhel-sap-hana-for-rhel-7-server-beta-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-eus-rhn-tools-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-hts-source-rpms' is disabled for this system.
Repository 'rhel-7-server-optional-fastrack-source-rpms' is disabled for this system.
Repository 'rhel-rs-for-rhel-7-server-beta-rpms' is disabled for this system.
Repository 'rhel-7-server-rhds-10-source-rpms' is disabled for this system.
Repository 'rhel-7-server-supplementary-source-rpms' is disabled for this system.
Repository 'rhel-sjis-for-rhel-7-server-eus-rpms' is disabled for this system.
Repository 'rhel-7-server-beta-debug-rpms' is disabled for this system.
Repository 'rhel-7-server-openstack-7.0-tools-source-rpms' is disabled for this system.
Repository 'rhel-7-server-optional-beta-rpms' is disabled for this system.

[root@docker yum.repos.d]# subscription-manager repos --enable rhel-7-server-rpms


Repository 'rhel-7-server-rpms' is enabled for this system.

[root@docker yum.repos.d]# subscription-manager repos --enable=rhel-7-server-extras-rpms


Repository 'rhel-7-server-extras-rpms' is enabled for this system.

[root@docker yum.repos.d]# subscription-manager repos --enable=rhel-7-server-optional-rpms


Repository 'rhel-7-server-optional-rpms' is enabled for this system.

[root@docker yum.repos.d]# yum clean all;yum repolist


Not loading "rhnplugin" plugin, as it is disabled
Loading "langpacks" plugin
Loading "product-id" plugin
Loading "search-disabled-repos" plugin
Loading "subscription-manager" plugin
Adding en_US.UTF-8 to language list
Updating Subscription Management repositories.
Config time: 2.597
Yum version: 3.4.3
Cleaning repos: rhel-7-server-extras-rpms rhel-7-server-optional-rpms rhel-7-server-rpms
Cleaning up everything
Not loading "rhnplugin" plugin, as it is disabled
Loading "langpacks" plugin
Loading "product-id" plugin
Loading "search-disabled-repos" plugin
Loading "subscription-manager" plugin
Adding en_US.UTF-8 to language list
Updating Subscription Management repositories.
Config time: 2.383
Yum version: 3.4.3
rhel-7-server-extras-rpms | 2.9 kB 00:00:00
rhel-7-server-optional-rpms | 3.5 kB 00:00:00
rhel-7-server-rpms | 3.7 kB 00:00:00
(1/3): rhel-7-server-extras-rpms/x86_64/primary_db | 97 kB
00:00:04
(2/3): rhel-7-server-optional-rpms/7Server/x86_64/primary_db | 3.1 MB
00:00:10
(3/3): rhel-7-server-rpms/7Server/x86_64/primary_db | 21 MB
00:00:52
(1/5): rhel-7-server-optional-rpms/7Server/x86_64/group_gz | 6.2 kB
00:00:02
(2/5): rhel-7-server-extras-rpms/x86_64/updateinfo | 57 kB
00:00:04
(3/5): rhel-7-server-rpms/7Server/x86_64/group_gz | 134 kB
00:00:05
(4/5): rhel-7-server-rpms/7Server/x86_64/updateinfo | 1.2 MB
00:00:05
(5/5): rhel-7-server-optional-rpms/7Server/x86_64/updateinfo | 885 kB
00:00:06
Setting up Package Sacks
pkgsack time: 0.004
Repo-id : rhel-7-server-extras-rpms/x86_64
Repo-name : Red Hat Enterprise Linux 7 Server - Extras (RPMs)
Repo-revision: 1463071944
Repo-updated : Thu May 12 12:52:27 2016
Repo-pkgs : 213
Repo-size : 462 M
Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os/
Repo-expire : 86,400 second(s) (last: Mon May 23 02:42:49 2016)
Repo-filename: /etc/yum.repos.d/redhat.repo

Repo-id : rhel-7-server-optional-rpms/7Server/x86_64
Repo-name : Red Hat Enterprise Linux 7 Server - Optional (RPMs)
Repo-revision: 1463515985
Repo-updated : Tue May 17 16:15:19 2016
Repo-pkgs : 8,605
Repo-size : 11 G
Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/optional/os/
Repo-expire : 86,400 second(s) (last: Mon May 23 02:42:50 2016)
Repo-filename: /etc/yum.repos.d/redhat.repo

Repo-id : rhel-7-server-rpms/7Server/x86_64
Repo-name : Red Hat Enterprise Linux 7 Server (RPMs)
Repo-revision: 1463516442
Repo-updated : Tue May 17 16:23:41 2016
Repo-pkgs : 10,859
Repo-size : 13 G
Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/
Repo-expire : 86,400 second(s) (last: Mon May 23 02:42:51 2016)
Repo-filename: /etc/yum.repos.d/redhat.repo

repolist: 19,677

[root@docker tmp]# yum update

[root@docker tmp]# yum install docker device-mapper-libs device-mapper-event-libs

[root@docker ~]# systemctl enable docker.service


Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.

[root@docker ~]# systemctl start docker.service

[root@docker ~]# systemctl restart docker.service


[root@docker ~]# systemctl status docker.service
docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2016-05-23 05:07:47 EDT; 2s ago
Docs: http://docs.docker.com
Main PID: 6988 (sh)
CGroup: /system.slice/docker.service
6988 /bin/sh -c /usr/bin/docker-current daemon $OPTIONS $DOCKER_STORAGE_OPTIONS
$DOCKER_NETWORK_OPTIONS $ADD_REGISTRY ...
6990 /usr/bin/docker-current daemon --selinux-enabled --add-registry registry.access.redhat.com
6991 /usr/bin/forward-journald -tag docker
May 23 05:07:47 docker.linjb.com forward-journal[6991]: time="2016-05-23T05:07:47.323970380-04:00" level=warning
msg="Docker could not enable SELinux on th...t system"
May 23 05:07:47 docker.linjb.com forward-journal[6991]: time="2016-05-23T05:07:47.334411122-04:00" level=info
msg="Firewalld running: false"
May 23 05:07:47 docker.linjb.com forward-journal[6991]: time="2016-05-23T05:07:47.363510737-04:00" level=info
msg="Default bridge (docker0) is assigned wit... address"
May 23 05:07:47 docker.linjb.com forward-journal[6991]: time="2016-05-23T05:07:47.391725899-04:00" level=info
msg="Loading containers: start."
May 23 05:07:47 docker.linjb.com forward-journal[6991]:
May 23 05:07:47 docker.linjb.com forward-journal[6991]: time="2016-05-23T05:07:47.391828414-04:00" level=info
msg="Loading containers: done."
May 23 05:07:47 docker.linjb.com forward-journal[6991]: time="2016-05-23T05:07:47.391934321-04:00" level=info
msg="Daemon has completed initialization"
May 23 05:07:47 docker.linjb.com forward-journal[6991]: time="2016-05-23T05:07:47.391949162-04:00" level=info
msg="Docker daemon" commit="ab77bde/1.9.1" ex...ion=1.9.1
May 23 05:07:47 docker.linjb.com forward-journal[6991]: time="2016-05-23T05:07:47.400219072-04:00" level=info
msg="API listen on /var/run/docker.sock"
May 23 05:07:47 docker.linjb.com systemd[1]: Started Docker Application Container Engine.
Hint: Some lines were ellipsized, use -l to show in full.

Command using for checking docker images

[root@docker ~]# docker images


REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE

[root@docker ~]# docker version


Client:
Version: 1.9.1
API version: 1.21
Package version: docker-common-1.9.1-40.el7.x86_64
Go version: go1.4.2
Git commit: ab77bde/1.9.1
Built:
OS/Arch: linux/amd64

Server:
Version: 1.9.1
API version: 1.21
Package version: docker-common-1.9.1-40.el7.x86_64
Go version: go1.4.2
Git commit: ab77bde/1.9.1
Built:
OS/Arch: linux/amd64

[root@docker ~]# docker info


Containers: 0
Images: 0
Server Version: 1.9.1
Storage Driver: devicemapper
Pool Name: docker-253:0-35550570-pool
Pool Blocksize: 65.54 kB
Base Device Size: 107.4 GB
Backing Filesystem:
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 53.74 MB
Data Space Total: 107.4 GB
Data Space Available: 7.842 GB
Metadata Space Used: 606.2 kB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.147 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Deferred Deletion Enabled: false
Deferred Deleted Device Count: 0
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.107-RHEL7 (2015-12-01)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.10.0-327.el7.x86_64
Operating System: Red Hat Enterprise Linux
CPUs: 1
Total Memory: 993.3 MiB
Name: docker.linjb.com
ID: 66WB:M6C6:IRMB:HWGE:WCFE:OQ7D:2SO5:TXJC:J2LG:KCQW:BTU3:QW37
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled

[root@docker ~]# docker inspect

Once you are done installing Docker, test your Docker installation by running the following

#docker run hello-world

[root@docker ~]# docker run hello-world


Unable to find image 'hello-world:latest' locally
Trying to pull repository registry.access.redhat.com/hello-world ... not found
Trying to pull repository docker.io/library/hello-world ... latest: Pulling from library/hello-world

79112a2b2613: Pull complete


4c4abd6d4278: Pull complete
Digest: sha256:4f32210e234b4ad5cac92efacc0a3d602b02476c754f13d517e1ada048e5a8ba
Status: Downloaded newer image for docker.io/hello-world:latest

Hello from Docker.


This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:


1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker Hub account:
https://hub.docker.com

For more examples and ideas, visit:


https://docs.docker.com/engine/userguide/
Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--
storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.

[root@docker ~]# docker network ls


NETWORK ID NAME DRIVER
17a9dfced02f host host
6eda6289a5ad bridge bridge
0368cda241eb none null

[root@docker ~]# docker network inspect bridge


[
{
"Name": "bridge",
"Id": "6eda6289a5ada6b33eb83ed56bc67d35004d6fb5b2af319f6cafe70edd281158",
"Scope": "local",
"Driver": "bridge",
"IPAM": {
"Driver": "default",
"Config": [
{
"Subnet": "172.17.0.0/16"
}
]
},
"Containers": {},
"Options": {
"com.docker.network.bridge.default_bridge": "true",
"com.docker.network.bridge.enable_icc": "true",
"com.docker.network.bridge.enable_ip_masquerade": "true",
"com.docker.network.bridge.host_binding_ipv4": "0.0.0.0",
"com.docker.network.bridge.name": "docker0",
"com.docker.network.driver.mtu": "1500"
}
}
]
Ather package installation

[root@docker ~]# docker search rhel7


INDEX NAME DESCRIPTION STARS
OFFICIAL AUTOMATED
docker.io docker.io/richxsl/rhel7 RHEL 7 image with minimal installation 2
docker.io docker.io/gidikern/rhel-oracle-jre RHEL7 with jre8u60 1
[OK]
docker.io docker.io/appdynamics/sti-wildfly-eap64-rhel7 EAP 6.4 builder image with AppDynamics
Jav... 0
docker.io docker.io/chaoyang/uby-22-rhel7 0
docker.io docker.io/dyan/postgresql-94-rhel7 0
docker.io docker.io/dyan/ruby-20-rhel7 0
docker.io docker.io/dyan/ruby-22-rhel7 0
docker.io docker.io/edatei/rhel7 0
docker.io docker.io/embaby/rhel7 RHEL 7 0
docker.io docker.io/gang929/rhel7.1 import RHEL7.1 0
[OK]
docker.io docker.io/ibmiccm/rhel71 0
docker.io docker.io/kitakei8/rhel70 0
docker.io docker.io/ling/rhel7 0
docker.io docker.io/lionelman45/rhel7 Red Hat Enterprise Linux Server release 7.x 0
docker.io docker.io/majestix508/rhel7-jdk RHEL 7.2 and Oracle JDK 8u92 0
docker.io docker.io/myechoi/my-rhel7 0
docker.io docker.io/pacgenesis/rhel7-jenkins 0
docker.io docker.io/qixie/rhel7 0
docker.io docker.io/rmedinaday/php-mcrypt-5.6-rhel7 RHEL 7 Official PHP image with added libm...
0
docker.io docker.io/shyu/rhel7 0
docker.io docker.io/starxia/php-55-rhel7 0
docker.io docker.io/wewang58/ruby-20-rhel7 0
docker.io docker.io/xiaocwan/ruby-22-rhel7 0
docker.io docker.io/yapei/ruby-20-rhel7 0
docker.io docker.io/zhouying7780/mysql-55-rhel7 0
redhat.com registry-appdimages.rhcloud.com/rhel7/appdynamics AppDynamics is a powerful, easy-to-use
App... 0
redhat.com registry-couchbase.rhcloud.com/rhel7/couchbase [Couchbase Server]
(http://www.couchbase.co... 0
redhat.com registry-crateio.rhcloud.com/rhel7/crateio Crate is a scalable, distributed NoSQL dat... 0
redhat.com registry-crunchydata.rhcloud.com/crunchydata/crunchy-postgresql:9.4.4 PostgreSQL 9.4 Certified Container
provide... 0
redhat.com registry-haproxyorg.rhcloud.com/haproxy/rhel-haproxy:1.5.12 HAProxy is a reliable, feature rich,
high ... 0
redhat.com registry-ironmq.rhcloud.com/iron/rhel7-ironmq:lite IronMQ is a reliable cloud-native message ...
0
redhat.com registry-mariadbcorp.rhcloud.com/rhel7/mariadb-enterprise-server:10.0 MariaDB Enterprise Server is a
hardened, E... 0
redhat.com registry-nginxinc.rhcloud.com/nginx/rhel7-nginx:1.9.2 Run by the busiest web sites on the
Intern... 0
redhat.com registry-nrpartners.rhcloud.com/rhel7/newrelic New Relic is an application performance mo...
0
redhat.com registry.access.redhat.com/openshift3/jenkins-1-rhel7 Jenkins image which can be used to set
up ... 0
redhat.com registry.access.redhat.com/openshift3/mongodb-24-rhel7 MongoDB 2.4 NoSQL database server
0
redhat.com registry.access.redhat.com/openshift3/mysql-55-rhel7 MySQL 5.5 SQL database server
0
redhat.com registry.access.redhat.com/openshift3/nodejs-010-rhel7 NodeJS 0.10 platform for building and
runn... 0
redhat.com registry.access.redhat.com/openshift3/perl-516-rhel7 Perl 5.16 platform for building and runnin...
0
redhat.com registry.access.redhat.com/openshift3/php-55-rhel7 PHP 5.5 platform for building and running ...
0
redhat.com registry.access.redhat.com/openshift3/postgresql-92-rhel7 PostgreSQL 9.2 database server
0
redhat.com registry.access.redhat.com/openshift3/python-33-rhel7 Python 3.3 platform for building and
runni... 0
redhat.com registry.access.redhat.com/openshift3/ruby-20-rhel7 Ruby 2.0 platform for building and
running... 0
redhat.com registry.access.redhat.com/rhceph/rhceph-1.3-rhel7 Red Hat Ceph Storage 1.3 (selectable
daemo... 0
redhat.com registry.access.redhat.com/rhel This platform image provides a minimal run... 0
redhat.com registry.access.redhat.com/rhel6 This platform image provides a minimal run... 0
redhat.com registry.access.redhat.com/rhel6.5 This platform image provides a minimal run... 0
redhat.com registry.access.redhat.com/rhel6.6 This platform image provides a minimal run... 0
redhat.com registry.access.redhat.com/rhel6.7 This platform image provides a minimal run... 0
redhat.com registry.access.redhat.com/rhel6.8 This platform image provides a minimal run... 0
redhat.com registry.access.redhat.com/rhel6/rhel This platform image provides a minimal run... 0
redhat.com registry.access.redhat.com/rhel7 This platform image provides a minimal run... 0
redhat.com registry.access.redhat.com/rhel7.0 This platform image provides a minimal run... 0
redhat.com registry.access.redhat.com/rhel7.1 This platform image provides a minimal run... 0
redhat.com registry.access.redhat.com/rhel7.2 This platform image provides a minimal run... 0
redhat.com registry.access.redhat.com/rhel7/cockpit-ws Cockpit-ws exposes the webservices interfa...
0
redhat.com registry.access.redhat.com/rhel7/etcd etcd provides a distributed key value stor... 0
redhat.com registry.access.redhat.com/rhel7/kubernetes-apiserver The Kubernetes API server validates and
co... 0
redhat.com registry.access.redhat.com/rhel7/kubernetes-controller-mgr The Kubernetes controller manager
watches ... 0
redhat.com registry.access.redhat.com/rhel7/kubernetes-scheduler The Kubernetes scheduler watches for new
u... 0
redhat.com registry.access.redhat.com/rhel7/pod-infrastructure OpenShift Enterprise Infrastructure Pod
0
redhat.com registry.access.redhat.com/rhel7/rhel This platform image provides a minimal run... 0
redhat.com registry.access.redhat.com/rhel7/rhel-tools Provides the core systems administrator an... 0
redhat.com registry.access.redhat.com/rhel7/rsyslog A containerized version of the rsyslog uti... 0
redhat.com registry.access.redhat.com/rhel7/sadc A containerized version of the sysstat dat... 0
redhat.com registry.access.redhat.com/rhel7/sssd System Security Services Daemon (SSSD) pro...
0
redhat.com registry.access.redhat.com/rhgs3/rhgs-server-rhel7 containerized Red Hat Gluster Storage
imag... 0
redhat.com registry.access.redhat.com/rhscl/devtoolset-4-toolchain-rhel7 Developer toolset toolchain 0
redhat.com registry.access.redhat.com/rhscl/httpd-24-rhel7 Apache HTTP 2.4 Server 0
redhat.com registry.access.redhat.com/rhscl/mariadb-100-rhel7 MariaDB 10.0 SQL database server
0
redhat.com registry.access.redhat.com/rhscl/mongodb-26-rhel7 MongoDB 2.6 NoSQL database server
0
redhat.com registry.access.redhat.com/rhscl/mysql-56-rhel7 MySQL 5.6 SQL database server 0
redhat.com registry.access.redhat.com/rhscl/nginx-16-rhel7 Nginx 1.6 server and a reverse proxy server
0
redhat.com registry.access.redhat.com/rhscl/passenger-40-rhel7 Phusion Passenger 3.0 web server and
app... 0
redhat.com registry.access.redhat.com/rhscl/perl-520-rhel7 Perl 5.20 platform for building and runnin... 0
redhat.com registry.access.redhat.com/rhscl/php-56-rhel7 PHP 5.6 platform for building and running ...
0
redhat.com registry.access.redhat.com/rhscl/postgresql-94-rhel7 PostgreSQL 9.4 SQL database server
0
redhat.com registry.access.redhat.com/rhscl/python-27-rhel7 Python 2.7 platform for building and runni...
0
redhat.com registry.access.redhat.com/rhscl/python-34-rhel7 Python 3.4 platform for building and runni...
0
redhat.com registry.access.redhat.com/rhscl/ror-41-rhel7 Platform for building and running Ruby on ...
0
redhat.com registry.access.redhat.com/rhscl/ruby-22-rhel7 Ruby 2.2 platform for building and running...
0
redhat.com registry.access.redhat.com/rhscl/s2i-base-rhel7 Base image delivers all the essential libr... 0
redhat.com registry.access.redhat.com/rhscl_beta/devtoolset-4-perftools-rhel7 Developer toolset perftools
0
redhat.com registry.access.redhat.com/rhscl_beta/devtoolset-4-toolchain-rhel7 Developer toolset toolchain
0
redhat.com registry.access.redhat.com/rhscl_beta/httpd-24-rhel7 Apache HTTP 2.4 Server 0
redhat.com registry.access.redhat.com/rhscl_beta/mariadb-100-rhel7 MariaDB 10.0 SQL database server
0
redhat.com registry.access.redhat.com/rhscl_beta/mariadb-101-rhel7 MariaDB server 10.1 for OpenShift and
gene... 0
redhat.com registry.access.redhat.com/rhscl_beta/mongodb-26-rhel7 MongoDB 2.6 NoSQL database server
0
redhat.com registry.access.redhat.com/rhscl_beta/mongodb-32-rhel7 MongoDB server 3.2 for OpenShift and
gener... 0
redhat.com registry.access.redhat.com/rhscl_beta/mysql-56-rhel7 MySQL 5.6 SQL database server
0
redhat.com registry.access.redhat.com/rhscl_beta/nginx-16-rhel7 Nginx 1.6 server and a reverse proxy server
0
redhat.com registry.access.redhat.com/rhscl_beta/nginx-18-rhel7 Nginx 1.8 server and a reverse proxy server
0
redhat.com registry.access.redhat.com/rhscl_beta/nodejs-4-rhel7 Node.js 4 platform for building and runnin...
0
redhat.com registry.access.redhat.com/rhscl_beta/passenger-40-rhel7 Phusion Passenger 3.0 web server and
app... 0
redhat.com registry.access.redhat.com/rhscl_beta/perl-520-rhel7 Perl 5.20 platform for building and runnin...
0
redhat.com registry.access.redhat.com/rhscl_beta/php-56-rhel7 PHP 5.6 platform for building and running ...
0
redhat.com registry.access.redhat.com/rhscl_beta/postgresql-94-rhel7 PostgreSQL 9.4 SQL database server
0
redhat.com registry.access.redhat.com/rhscl_beta/postgresql-95-rhel7 PostgreSQL server 9.5 for OpenShift and
ge... 0
redhat.com registry.access.redhat.com/rhscl_beta/python-27-rhel7 Python 2.7 platform for building and
runni... 0
redhat.com registry.access.redhat.com/rhscl_beta/python-34-rhel7 Python 3.4 platform for building and
runni... 0
redhat.com registry.access.redhat.com/rhscl_beta/python-35-rhel7 Python 3.5 platform for building and
runni... 0
redhat.com registry.access.redhat.com/rhscl_beta/ror-41-rhel7 Platform for building and running Ruby on ...
0
redhat.com registry.access.redhat.com/rhscl_beta/ror-42-rhel7 Ruby on Rails 4.2 platform for building an...
0
redhat.com registry.access.redhat.com/rhscl_beta/ruby-22-rhel7 Ruby 2.2 platform for building and
running... 0
redhat.com registry.access.redhat.com/rhscl_beta/ruby-23-rhel7 Ruby 2.3 platform for building and
running... 0
redhat.com registry.access.redhat.com/rhscl_beta/thermostat-1-agent-rhel7 Thermostat Agent 0
redhat.com registry.access.redhat.com/rhscl_beta/thermostat1-agent-rhel7 Thermostat Agent 0
redhat.com registry.access.redhat.com/rhscl_beta/varnish-4-rhel7 Varnish 4 high-performance HTTP
accelerator 0

[root@docker ~]# docker search fedora


INDEX NAME DESCRIPTION STARS OFFICIAL AUTOMATED
docker.io docker.io/fedora Official Docker builds of Fedora 357 [OK]
docker.io docker.io/dockingbay/fedora-rust Trusted build of Rust programming language... 3 [OK]
docker.io docker.io/startx/fedora Simple container used for all startx based... 2 [OK]
docker.io docker.io/darksheer/fedora22 Base Fedora 22 Image -- Updated hourly 1 [OK]
docker.io docker.io/dasrick/fedora-nginx NGINX image - port 80, 443 - based on Fedo... 1 [OK]
docker.io docker.io/mattsch/fedora-rpmfusion Base container for Fedora 22 with RPM Fusi... 1 [OK]
docker.io docker.io/neroinc/fedora-apache Plain and simple image with Apache httpd b... 1 [OK]
docker.io docker.io/pacur/fedora-21 Pacur Fedora 21 1 [OK]
docker.io docker.io/pacur/fedora-22 Pacur Fedora 22 1 [OK]
docker.io docker.io/cloudrunnerio/fedora 0 [OK]
docker.io docker.io/kino/fedora fedora base 0 [OK]
docker.io docker.io/krystalcode/fedora Fedora base image that includes some addit... 0 [OK]
docker.io docker.io/macheins/fedora 0 [OK]
docker.io docker.io/mattsch/fedora-couchpotato Fedora Couchpotato 0 [OK]
docker.io docker.io/mattsch/fedora-htpc Fedora HTPC 0 [OK]
docker.io docker.io/mattsch/fedora-nzbget Fedora NZBGet 0 [OK]
docker.io docker.io/mattsch/fedora-nzbhydra Fedora NZBHydra 0 [OK]
docker.io docker.io/mattsch/fedora-plex Fedora Plex 0 [OK]
docker.io docker.io/mattsch/fedora-plexpy Fedora PlexPy Container 0 [OK]
docker.io docker.io/mattsch/fedora-sonarr Fedora Sonarr 0 [OK]
docker.io docker.io/mattsch/fedora-transmission Fedora Transmission 0 [OK]
docker.io docker.io/opencpu/fedora Stable version of opencpu for Fedora 0 [OK]
docker.io docker.io/qnib/fedora Base QNIBTerminal image of fedora 0 [OK]
docker.io docker.io/rocproject/ci-fedora Continuous integration builds of Roc (Fedo... 0 [OK]
docker.io docker.io/ustclug/fedora fedora with USTC mirror 0 [OK]

[root@docker ~]# docker pull rhscl/httpd-24-rhel7


Using default tag: latest
5a903a05d3a6: Download complete
c453594215e4: Download complete
Status: Downloaded newer image for registry.access.redhat.com/rhscl/httpd-24-rhel7:latest
registry.access.redhat.com/rhscl/httpd-24-rhel7: this image was pulled from a legacy registry. Important: This registry
version will not be supported in future versions of docker.

[root@docker ~]# docker pull neroinc/fedora-apache


Using default tag: latest
Trying to pull repository registry.access.redhat.com/neroinc/fedora-apache ... not found
Trying to pull repository docker.io/neroinc/fedora-apache ... latest: Pulling from neroinc/fedora-apache
b6b8e78b81f7: Pull complete
9dc42f5707eb: Pull complete
b078c84a0f53: Pull complete
f5cbef3704ec: Pull complete
c719c0ece29e: Pull complete
029510b37a1a: Pull complete
99c444995cca: Pull complete
bc4255425b05: Pull complete
da155f559366: Pull complete
6f2c5a3ad4ad: Pull complete
Digest: sha256:6300bd2a06e9d258654df0a1840bdbe4dd8aa97b5ad953a461d65d9d043769f7
Status: Downloaded newer image for docker.io/neroinc/fedora-apache:latest

[root@docker ~]# docker version


Client:
Version: 1.9.1
API version: 1.21
Package version: docker-common-1.9.1-40.el7.x86_64
Go version: go1.4.2
Git commit: ab77bde/1.9.1
Built:
OS/Arch: linux/amd64

Server:
Version: 1.9.1
API version: 1.21
Package version: docker-common-1.9.1-40.el7.x86_64
Go version: go1.4.2
Git commit: ab77bde/1.9.1
Built:
OS/Arch: linux/amd64

[root@docker ~]# docker images


REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
registry.access.redhat.com/rhscl/httpd-24-rhel7 latest 5a903a05d3a6 2 weeks ago 247.5 MB
registry.access.redhat.com/rhel7 latest c453594215e4 2 weeks ago 203.4 MB
registry.access.redhat.com/rhel latest c453594215e4 2 weeks ago 203.4 MB
docker.io/hello-world latest 4c4abd6d4278 3 weeks ago 967 B
docker.io/neroinc/fedora-apache latest 6f2c5a3ad4ad 7 months ago 307.7 MB

[root@docker ~]# docker info


Containers: 4
Images: 14
Server Version: 1.9.1
Storage Driver: devicemapper
Pool Name: docker-253:0-35550570-pool
Pool Blocksize: 65.54 kB
Base Device Size: 107.4 GB
Backing Filesystem:
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 1.122 GB
Data Space Total: 107.4 GB
Data Space Available: 6.777 GB
Metadata Space Used: 1.753 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.146 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Deferred Deletion Enabled: false
Deferred Deleted Device Count: 0
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.107-RHEL7 (2015-12-01)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.10.0-327.18.2.el7.x86_64
Operating System: Red Hat Enterprise Linux
CPUs: 1
Total Memory: 993.3 MiB
Name: docker.linjb.com
ID: 66WB:M6C6:IRMB:HWGE:WCFE:OQ7D:2SO5:TXJC:J2LG:KCQW:BTU3:QW37
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled

[root@docker ~]# docker run -i -t --name=firstcon rhscl/httpd-24-rhel7


Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--
storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the
'ServerName' directive globally to suppress this message
[Tue May 24 06:51:13.737909 2016] [suexec:notice] [pid 1] AH01232: suEXEC mechanism enabled (wrapper:
/opt/rh/httpd24/root/usr/sbin/suexec)
[Tue May 24 06:51:13.794169 2016] [ssl:warn] [pid 1] AH01909: 172.17.0.2:443:0 server certificate does NOT include an
ID which matches the server name
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the
'ServerName' directive globally to suppress this message
[Tue May 24 06:51:13.809141 2016] [auth_digest:notice] [pid 1] AH01757: generating secret for digest authentication ...
[Tue May 24 06:51:13.809647 2016] [lbmethod_heartbeat:notice] [pid 1] AH02282: No slotmem from mod_heartmonitor
[Tue May 24 06:51:13.810010 2016] [ssl:warn] [pid 1] AH01909: 172.17.0.2:443:0 server certificate does NOT include an
ID which matches the server name
[Tue May 24 06:51:13.811703 2016] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.12 (Red Hat) OpenSSL/1.0.1e-
fips configured -- resuming normal operations
[Tue May 24 06:51:13.811718 2016] [core:notice] [pid 1] AH00094: Command line: 'httpd -D FOREGROUND'
^C[Tue May 24 06:51:44.622110 2016] [mpm_prefork:notice] [pid 1] AH00169: caught SIGTERM, shutting down

[root@docker ~]# docker ps -a


CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS
NAMES
c2fcdee424c1 neroinc/fedora-apache "/bin/httpd-run" 40 seconds ago Created
first1
28f285c325a7 rhscl/httpd-24-rhel7 "/usr/local/bin/run-h" 2 minutes ago Exited (0) About a minute ago
firstcon
d1aec3bcac6b hello-world "/hello" 4 hours ago Exited (0) 4 hours ago
small_swartz
d78cd50cc00b rhel:latest "/bin/bash -c 'yum cl" 23 hours ago Exited (0) 23 hours ago
adoring_swartz
19e439dcf0b4 rhel "echo Hello-World" 23 hours ago Exited (0) 23 hours ago
thirsty_fermi
1389f67b1269 rhel7 "echo Hello-World" 23 hours ago Exited (0) 23 hours ago
high_lovelace

[root@docker ~]# docker inspect firstcon


[
{
"Id": "28f285c325a78208eef4eb53de235b55efaf7691fe1d5331e484ea2091728e79",
"Created": "2016-05-24T10:51:12.10676475Z",
"Path": "/usr/local/bin/run-httpd24.sh",
"Args": [
"httpd",
"-DFOREGROUND"
],
"State": {
"Status": "exited",
"Running": false,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 0,
"Error": "",
"StartedAt": "2016-05-24T10:51:13.009241674Z",
"FinishedAt": "2016-05-24T10:51:44.637143998Z"
},
"Image": "5a903a05d3a6bfcf6b4ded92d534b4af80bf1a4abb66c02405b634c23c3a019d",
"ResolvConfPath":
"/var/lib/docker/containers/28f285c325a78208eef4eb53de235b55efaf7691fe1d5331e484ea2091728e79/resolv.conf",
"HostnamePath":
"/var/lib/docker/containers/28f285c325a78208eef4eb53de235b55efaf7691fe1d5331e484ea2091728e79/hostname",
"HostsPath":
"/var/lib/docker/containers/28f285c325a78208eef4eb53de235b55efaf7691fe1d5331e484ea2091728e79/hosts",
"LogPath":
"/var/lib/docker/containers/28f285c325a78208eef4eb53de235b55efaf7691fe1d5331e484ea2091728e79/28f285c325a7820
8eef4eb53de235b55efaf7691fe1d5331e484ea2091728e79-json.log",
"Name": "/firstcon",
"RestartCount": 0,
"Driver": "devicemapper",
"ExecDriver": "native-0.2",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LxcConf": [],
"Memory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"KernelMemory": 0,
"CpuShares": 0,
"CpuPeriod": 0,
"CpusetCpus": "",
"CpusetMems": "",
"CpuQuota": 0,
"BlkioWeight": 0,
"OomKillDisable": false,
"MemorySwappiness": -1,
"Privileged": false,
"PortBindings": {},
"Links": null,
"PublishAllPorts": false,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"VolumesFrom": null,
"Devices": [],
"NetworkMode": "default",
"IpcMode": "",
"PidMode": "",
"UTSMode": "",
"CapAdd": null,
"CapDrop": null,
"GroupAdd": null,
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"SecurityOpt": null,
"ReadonlyRootfs": false,
"Ulimits": null,
"Sysctls": {},
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"CgroupParent": "",
"ConsoleSize": [
0,
0
],
"VolumeDriver": "",
"ShmSize": 67108864
},
"GraphDriver": {
"Name": "devicemapper",
"Data": {
"DeviceId": "25",
"DeviceName": "docker-253:0-35550570-
28f285c325a78208eef4eb53de235b55efaf7691fe1d5331e484ea2091728e79",
"DeviceSize": "107374182400"
}
},
"Mounts": [
{
"Name": "568f3e58250d5e1254c3ab4ba9e6870730031ad609f35a6a08137dae4195444e",
"Source":
"/var/lib/docker/volumes/568f3e58250d5e1254c3ab4ba9e6870730031ad609f35a6a08137dae4195444e/_data",
"Destination": "/opt/rh/httpd24/root/var/www",
"Driver": "local",
"Mode": "",
"RW": true
},
{
"Name": "401fd29a8475e46c73342b7ea37e2e608bdf5153276205427435fd70732bf24e",
"Source":
"/var/lib/docker/volumes/401fd29a8475e46c73342b7ea37e2e608bdf5153276205427435fd70732bf24e/_data",
"Destination": "/var/log/httpd24",
"Driver": "local",
"Mode": "",
"RW": true
}
],
"Config": {
"Hostname": "28f285c325a7",
"Domainname": "",
"User": "",
"AttachStdin": true,
"AttachStdout": true,
"AttachStderr": true,
"ExposedPorts": {
"443/tcp": {},
"80/tcp": {}
},
"Tty": true,
"OpenStdin": true,
"StdinOnce": true,
"Env": [
"container=docker",
"PKGM=yum",
"PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin",
"BASH_ENV=/var/lib/httpd24/scl_enable",
"ENV=/var/lib/httpd24/scl_enable",
"PROMPT_COMMAND=. /var/lib/httpd24/scl_enable"
],
"Cmd": [
"httpd",
"-DFOREGROUND"
],
"Image": "rhscl/httpd-24-rhel7",
"Volumes": {
"/opt/rh/httpd24/root/var/www": {},
"/var/log/httpd24": {}
},
"WorkingDir": "",
"Entrypoint": [
"/usr/local/bin/run-httpd24.sh"
],
"OnBuild": null,
"Labels": {
"Architecture": "x86_64",
"Authoritative_Registry": "registry.access.redhat.com",
"BZComponent": "httpd24-docker",
"Build_Host": "rcm-img-docker02.build.eng.bos.redhat.com",
"Component": "httpd24-docker",
"Name": "rhscl/httpd-24-rhel7",
"Release": "10.5",
"Vendor": "Red Hat, Inc.",
"Version": "2.4",
"architecture": "x86_64",
"build-date": "2016-05-08T08:14:45.730672Z",
"distribution-scope": "public",
"vcs-ref": "9c9f32f45df9474ea369519fa7d4bb2df5bfbd41",
"vcs-type": "git"
},
"StopSignal": "SIGTERM"
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": null,
"SandboxKey": "",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"bridge": {
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": ""
}
}
}
}
]

[root@docker ~]# docker inspect first1


[
{
"Id": "c2fcdee424c1af52b0344ea2765b0a09e94ca256b61cce2d0d85aa3f123f085b",
"Created": "2016-05-24T10:52:59.982783268Z",
"Path": "/bin/httpd-run",
"Args": [],
"State": {
"Status": "created",
"Running": false,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": -1,
"Error": "[8] System error: exec: \"/bin/httpd-run\": permission denied",
"StartedAt": "0001-01-01T00:00:00Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "6f2c5a3ad4adbabf8f23ff44f257eb85cf9398f4925963810ad56a501914f721",
"ResolvConfPath":
"/var/lib/docker/containers/c2fcdee424c1af52b0344ea2765b0a09e94ca256b61cce2d0d85aa3f123f085b/resolv.conf",
"HostnamePath":
"/var/lib/docker/containers/c2fcdee424c1af52b0344ea2765b0a09e94ca256b61cce2d0d85aa3f123f085b/hostname",
"HostsPath":
"/var/lib/docker/containers/c2fcdee424c1af52b0344ea2765b0a09e94ca256b61cce2d0d85aa3f123f085b/hosts",
"LogPath":
"/var/lib/docker/containers/c2fcdee424c1af52b0344ea2765b0a09e94ca256b61cce2d0d85aa3f123f085b/c2fcdee424c1af52
b0344ea2765b0a09e94ca256b61cce2d0d85aa3f123f085b-json.log",
"Name": "/first1",
"RestartCount": 0,
"Driver": "devicemapper",
"ExecDriver": "native-0.2",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LxcConf": [],
"Memory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"KernelMemory": 0,
"CpuShares": 0,
"CpuPeriod": 0,
"CpusetCpus": "",
"CpusetMems": "",
"CpuQuota": 0,
"BlkioWeight": 0,
"OomKillDisable": false,
"MemorySwappiness": -1,
"Privileged": false,
"PortBindings": {},
"Links": null,
"PublishAllPorts": false,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"VolumesFrom": null,
"Devices": [],
"NetworkMode": "default",
"IpcMode": "",
"PidMode": "",
"UTSMode": "",
"CapAdd": null,
"CapDrop": null,
"GroupAdd": null,
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"SecurityOpt": null,
"ReadonlyRootfs": false,
"Ulimits": null,
"Sysctls": {},
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"CgroupParent": "",
"ConsoleSize": [
0,
0
],
"VolumeDriver": "",
"ShmSize": 67108864
},
"GraphDriver": {
"Name": "devicemapper",
"Data": {
"DeviceId": "27",
"DeviceName": "docker-253:0-35550570-
c2fcdee424c1af52b0344ea2765b0a09e94ca256b61cce2d0d85aa3f123f085b",
"DeviceSize": "107374182400"
}
},
"Mounts": [],
"Config": {
"Hostname": "c2fcdee424c1",
"Domainname": "",
"User": "",
"AttachStdin": true,
"AttachStdout": true,
"AttachStderr": true,
"ExposedPorts": {
"80/tcp": {}
},
"Tty": true,
"OpenStdin": true,
"StdinOnce": true,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": [
"/bin/httpd-run"
],
"Image": "neroinc/fedora-apache",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {},
"StopSignal": "SIGTERM"
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": null,
"SandboxKey": "",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"bridge": {
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": ""
}
}
}
}
]

[root@docker ~]# ifconfig


docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 0.0.0.0
inet6 fe80::42:73ff:fe37:bcc5 prefixlen 64 scopeid 0x20<link>
ether 02:42:73:37:bc:c5 txqueuelen 0 (Ethernet)
RX packets 10 bytes 688 (688.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3 bytes 258 (258.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eno16780032: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500


inet 192.168.1.137 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::20c:29ff:fedf:b106 prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:df:b1:06 txqueuelen 1000 (Ethernet)
RX packets 104703 bytes 131617783 (125.5 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 60479 bytes 4903872 (4.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536


inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 3609 bytes 652350 (637.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3609 bytes 652350 (637.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500


inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:da:26:93 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@docker ~]# ping 172.17.0.1
PING 172.17.0.1 (172.17.0.1) 56(84) bytes of data.
64 bytes from 172.17.0.1: icmp_seq=1 ttl=64 time=0.023 ms
64 bytes from 172.17.0.1: icmp_seq=2 ttl=64 time=0.033 ms
64 bytes from 172.17.0.1: icmp_seq=3 ttl=64 time=0.034 ms
64 bytes from 172.17.0.1: icmp_seq=4 ttl=64 time=0.034 ms
^C
--- 172.17.0.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.023/0.031/0.034/0.004 ms

For image ex:-

docker rm fisrtcon
docker rm first1

docker ps

[root@docker ~]# ps -an | grep -i 8080


9661 pts/0 S+ 0:00 grep --color=auto -i 8080
[root@docker ~]#
[root@docker ~]#
[root@docker ~]# lsof -i tcp:80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
httpd 972 root 4u IPv6 19155 0t0 TCP *:http (LISTEN)
httpd 1174 apache 4u IPv6 19155 0t0 TCP *:http (LISTEN)
httpd 1175 apache 4u IPv6 19155 0t0 TCP *:http (LISTEN)
httpd 1176 apache 4u IPv6 19155 0t0 TCP *:http (LISTEN)
httpd 1177 apache 4u IPv6 19155 0t0 TCP *:http (LISTEN)
httpd 1178 apache 4u IPv6 19155 0t0 TCP *:http (LISTEN)
httpd 7676 apache 4u IPv6 19155 0t0 TCP *:http (LISTEN)

[root@docker ~]# docker search ubuntu


INDEX NAME DESCRIPTION STARS OFFICIAL AUTOMATED
docker.io docker.io/ubuntu Ubuntu is a Debian-based Linux operating s... 3962 [OK]
docker.io docker.io/ubuntu-upstart Upstart is an event-based replacement for ... 62 [OK]
docker.io docker.io/rastasheep/ubuntu-sshd Dockerized SSH service, built on top of of... 26 [OK]
docker.io docker.io/torusware/speedus-ubuntu Always updated official Ubuntu docker imag... 26 [OK]
docker.io docker.io/ubuntu-debootstrap debootstrap --variant=minbase --components... 24 [OK]
docker.io docker.io/nickistre/ubuntu-lamp LAMP server on Ubuntu 6 [OK]
docker.io docker.io/nickistre/ubuntu-lamp-wordpress LAMP on Ubuntu with wp-cli installed 5 [OK]
docker.io docker.io/nimmis/ubuntu This is a docker images different LTS vers... 4 [OK]
docker.io docker.io/nuagebec/ubuntu Simple always updated Ubuntu docker images... 4 [OK]
docker.io docker.io/maxexcloo/ubuntu Docker base image built on Ubuntu with Sup... 2 [OK]
docker.io docker.io/admiringworm/ubuntu Base ubuntu images based on the official u... 1 [OK]
docker.io docker.io/darksheer/ubuntu Base Ubuntu Image -- Updated hourly 1 [OK]
docker.io docker.io/jordi/ubuntu Ubuntu Base Image 1 [OK]
docker.io docker.io/datenbetrieb/ubuntu custom flavor of the official ubuntu base ... 0 [OK]
docker.io docker.io/dorapro/ubuntu ubuntu image 0 [OK]
docker.io docker.io/esycat/ubuntu Ubuntu LTS 0 [OK]
docker.io docker.io/konstruktoid/ubuntu Ubuntu base image 0 [OK]
docker.io docker.io/life360/ubuntu Ubuntu is a Debian-based Linux operating s... 0 [OK]
docker.io docker.io/lynxtp/ubuntu https://github.com/lynxtp/docker-ubuntu 0 [OK]
docker.io docker.io/rallias/ubuntu Ubuntu with the needful 0 [OK]
docker.io docker.io/teamrock/ubuntu TeamRock's Ubuntu image configured with AW... 0 [OK]
docker.io docker.io/ustclug/ubuntu ubuntu image for docker with USTC mirror 0 [OK]
docker.io docker.io/uvatbc/ubuntu Ubuntu images with unprivileged user 0 [OK]
docker.io docker.io/webhippie/ubuntu Docker images for ubuntu 0 [OK]
docker.io docker.io/widerplan/ubuntu Our basic Ubuntu images. 0 [OK]

[root@docker ~]# docker search SUSE


INDEX NAME DESCRIPTION STARS OFFICIAL
AUTOMATED
docker.io docker.io/opensuse This project contains the stable releases ... 108 [OK]
docker.io docker.io/martingabelmann/ansible-opensuse # Dockerized Ansible based on opensuse 1
[OK]
docker.io docker.io/mstormo/suse Various SUSE baseimages which are not avai... 1 [OK]
docker.io docker.io/particlekit/docker-ansible-opensuse # opensuse with ansible 1 [OK]
docker.io docker.io/alvaropeon/bottle-currency-suse 0
docker.io docker.io/boombatower/opensuse 0 [OK]
docker.io docker.io/brunolimaq/suse_12_1 Imagem BASE SUSE 12.1 0
docker.io docker.io/ceejatec/suse-11-couchbase-build 0
docker.io docker.io/gustavonalle/suse13 OpenSuse 13.1 with puppet 3. Also include ... 0
docker.io docker.io/hvd617/ap-base-suse 0
docker.io docker.io/ingee/bottle-currency-suse 0
docker.io docker.io/marcno/bottle-currency-suse 0
docker.io docker.io/mbentley/suse12-build SUSE 12 Docker Engine Builder 0 [OK]
docker.io docker.io/mstormo/suse_cuda SUSE with various CUDA versions for quick ... 0 [OK]
docker.io docker.io/nes3pfsl/bottle-currency-suse 0
docker.io docker.io/netways/suse-13-x86 0
docker.io docker.io/opexsoftware/suse-ssh 0
docker.io docker.io/opexsoftware/suse-ssh-chef 0
docker.io docker.io/praving5/suse 0
docker.io docker.io/rkrahl/opensuse Slightly modified version of the openSUSE ... 0 [OK]
docker.io docker.io/susero/minecraft-vanilla-jp Minecraft server (vanilla) for Japanese pe... 0 [OK]
docker.io docker.io/troytop/bottle-currency-suse 0
docker.io docker.io/webhippie/opensuse Docker images for opensuse 0 [OK]
docker.io docker.io/yumin9822/suse-x86 0
docker.io docker.io/yumin9822/suse-x86-minimal

[root@docker ~]# docker pull gustavonalle/suse13


Using default tag: latest
Trying to pull repository registry.access.redhat.com/gustavonalle/suse13 ... not found
Trying to pull repository docker.io/gustavonalle/suse13 ... latest: Pulling from gustavonalle/suse13
eec0112b948f: Pull complete
3beb34907469: Pull complete
3660a26fe04c: Pull complete
90d5e99bbe55: Pull complete
2163c16537d0: Pull complete
120f20fb2a9d: Pull complete
c1dd0f100a49: Pull complete
b36855c338c5: Pull complete
b8b49b8aed63: Pull complete
f0c2a83588c9: Pull complete
adf7af0a3be9: Pull complete
Digest: sha256:bdbdf10c463465e4b0f2a21a0208aa7499d16fbd226e5399fbb0b3a135572e96
Status: Downloaded newer image for docker.io/gustavonalle/suse13:latest
[root@docker ~]# docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
registry.access.redhat.com/rhscl/httpd-24-rhel7 latest 5a903a05d3a6 2 weeks ago 247.5 MB
registry.access.redhat.com/rhel latest c453594215e4 2 weeks ago 203.4 MB
registry.access.redhat.com/rhel7 latest c453594215e4 2 weeks ago 203.4 MB
docker.io/hello-world latest 4c4abd6d4278 3 weeks ago 967 B
docker.io/neroinc/fedora-apache latest 6f2c5a3ad4ad 7 months ago 307.7 MB
docker.io/gustavonalle/suse13 latest adf7af0a3be9 2 years ago 668.2 MB
<none> <none> df4792b28f4f 2 years ago 363.2 MB

[root@docker ~]# docker ps -a


CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS
NAMES
e32683cce393 gustavonalle/suse13 "/bin/bash" 15 minutes ago Exited (0) 12 minutes ago
first2
c2fcdee424c1 neroinc/fedora-apache "/bin/httpd-run" 2 hours ago Created first1
28f285c325a7 rhscl/httpd-24-rhel7 "/usr/local/bin/run-h" 2 hours ago Exited (0) 2 hours ago
firstcon
d1aec3bcac6b hello-world "/hello" 6 hours ago Exited (0) 6 hours ago
small_swartz
d78cd50cc00b rhel:latest "/bin/bash -c 'yum cl" 25 hours ago Exited (0) 25 hours ago
adoring_swartz
19e439dcf0b4 rhel "echo Hello-World" 25 hours ago Exited (0) 25 hours ago
thirsty_fermi
1389f67b1269 rhel7 "echo Hello-World" 25 hours ago Exited (0) 25 hours ago
high_lovelace
[root@docker ~]#
[root@docker ~]#
[root@docker ~]# docker rm first2
first2
[root@docker ~]#
[root@docker ~]#
[root@docker ~]#
[root@docker ~]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS
NAMES
c2fcdee424c1 neroinc/fedora-apache "/bin/httpd-run" 2 hours ago Created first1
28f285c325a7 rhscl/httpd-24-rhel7 "/usr/local/bin/run-h" 2 hours ago Exited (0) 2 hours ago
firstcon
d1aec3bcac6b hello-world "/hello" 6 hours ago Exited (0) 6 hours ago
small_swartz
d78cd50cc00b rhel:latest "/bin/bash -c 'yum cl" 25 hours ago Exited (0) 25 hours ago
adoring_swartz
19e439dcf0b4 rhel "echo Hello-World" 25 hours ago Exited (0) 25 hours ago
thirsty_fermi
1389f67b1269 rhel7 "echo Hello-World" 25 hours ago Exited (0) 25 hours ago
high_lovelace
[root@docker ~]#
[root@docker ~]# docker run -i -t --name=first2 gustavonalle/suse13 /bin/bash
Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--
storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
5e614f384db3:/ #
Now that we have an overview of the different components involved in our Docker Monitoring setup let's get started pulling
it all together.

We will start with the InfluxDB first and work our way towards connecting the cAdvisor.

1) Install the InfluxDb. We use the default settings below and name the container influxsrv which we will use later on for
linking.
Let's test quickly that our InfluxDB installed correctly. Navigate to your http://DockerIP:8083 Use the credentials below to
login to InfluxDB.

[root@docker ~]# docker run -d -p 8083:8083 -p 8086:8086 --expose 8090 --expose 8099 --name influxsrv tutum/influxdb
Unable to find image 'tutum/influxdb:latest' locally
Trying to pull repository registry.access.redhat.com/tutum/influxdb ... not found
Trying to pull repository docker.io/tutum/influxdb ... latest: Pulling from tutum/influxdb

d634beec75db: Pull complete


0135a9ef57e3: Pull complete
3b4017bb9567: Pull complete
8dde8d6d990e: Pull complete
19ef3a0f5c8c: Pull complete
3732f7921af5: Pull complete
f61e48189991: Pull complete
914cc09599a2: Pull complete
0ff4c261e504: Pull complete
774b5d57254e: Pull complete
7db52863c822: Pull complete
b6c62a63245f: Pull complete
e142cf2c93d7: Pull complete
35e3030455df: Pull complete
49dac54391f9: Pull complete
3781ea9b78d1: Pull complete
1036d50da09a: Pull complete
79fa5e855b00: Pull complete
2f9e204d02fc: Pull complete
c674b96972a4: Pull complete
79f3135dbd5f: Pull complete
2441e4f4a2f3: Pull complete
1e94f5c6b8e4: Pull complete
Digest: sha256:583c0b82be2de57e67aa0b7f048ef1d821559b64c0f017bfbad95b9145ff7544
Status: Downloaded newer image for docker.io/tutum/influxdb:latest

af14320f64356656698f3b03e7ab3b04e042ec4d2d205552233c79a63436ee72
Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--
storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.

root@docker ~]# docker run -d -p 9000:9000 -p 9090:9090 --expose 3000 --expose 3001 --name testnew
docker.io/opensuse /bin/bash
0a04c154ad5b1125c612927393061322b4294c490d021a1b1ecb43a0d408e214
You find out error : -

Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--
storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning

That warning related to free space available on volume group.

[root@docker ~]# vim /etc/sysconfig/docker-storage

DOCKER_STORAGE_OPTIONS=--storage-opt dm.no_warn_on_loop_devices=true

With no error examples

[root@docker ~]# docker run -d -p 9000:9000 -p 9090:9090 --expose 3000 --expose 3001 --name testnew
docker.io/opensuse /bin/bash
c3e3e1536083fe4576be64f83ae5fc680cb3e5b539dd644fbb513ab241c92c7f

You might also like