Everyday docker commands


I am starting to work more on docker. Here is my online notes, and I will keep adding new stuffs. # Pull image from a repository: dokcer pull <repo/image> Example: docker pull registry.access.redhat.com/rhel # Push image to a repository: dokcer pull <repo/image> Example: docker push docker-reg.mylab.local/soe # Create a new container: docker run [options] [command] … Continue reading Everyday docker commands

Set up Puppet lab in docker


Just finished my first docker set up - building a puppet server and a puppet client in two separate containers. 1) My docker host is Fedora 20. [root@1004521 ~]# cat /etc/system-release Fedora release 20 (Heisenbug) 2) Install docker (https://docs.docker.com/installation/fedora/) [root@1004521 ~]# yum -y install docker-io [root@1004521 ~]# systemctl start docker [root@1004521 ~]# systemctl enable docker … Continue reading Set up Puppet lab in docker