Search This Blog

Saturday, January 10, 2015

install docker on fedora 21 - and run hello world

install docker on fedora 21 - and run hello world

in fedora 21

https://docs.docker.com/installation/fedora/

as root

yum -y install docker-io
 
yum -y update docker-io

systemctl start docker
 
 systemctl enable docker
 
 docker run -i -t fedora /bin/bash  ### I can't do this as root, or I get errors
 
 
 usermod -a -G docker michael
 
then logon as michael and run
 
docker run -i -t fedora /bin/bash
 
then run
 
docker run fedora /bin/echo 'Hello world'
 
that's my first hello to the Docker
 

No comments:

Post a Comment