Your SlideShare is downloading. ×
7 steps access your centos-6 machine  using Dockor
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

7 steps access your centos-6 machine using Dockor

188

Published on

Hint: To pull centos 6, you need to run this command: …

Hint: To pull centos 6, you need to run this command:
sudo docker run -i -t centos:centos6 /bin/bash

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
188
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  1. 7 steps access your centos-6 machine using Dockor The docker-io package provides Docker on EPEL. If you already have the (unrelated) docker package installed, it will conflict with docker-io. There's a bug report filed for it. Hint: To proceed with docker-io installation, please remove docker first. Installing Docker 1. Next, let's install the docker-io package which will install Docker on our host. $ sudo yum install docker-io Using Docker 2. Once Docker is installed, you will need to start the docker daemon. $ sudo service docker start 3. If we want Docker to start at boot, we should also: $ sudo chkconfig docker on 4. Now let's verify that Docker is working. First we'll need to get the latest centos image. $ sudo docker pull centos 5. Next we'll make sure that we can see the image by running: $ sudo docker images centos 6. This should generate some output similar to: $ sudo docker images centos REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE centos centos6 b1bd49907d55 4 weeks ago 212.5 MB centos centos7 b157b77b1a65 4 weeks ago 243.7 MB 7. Run a simple bash shell to test the image: $ sudo docker run -i -t centos /bin/bash bash-4.2# bash-4.2# bash-4.2# Reference https://docs.docker.com/installation/centos/#installing­docker­centos­6, Asmaa Ibrahim

×