In my POC environment, I designed and implemented the docker infrastructure that is displayed as above. It combines two major parts: private docker registry host and docker host. How it works? The work flow is pretty straight forward. I will explain it step by step, and also add some notes that I have taken while … Continue reading Docker Infrastructure v1.0
Understanding docker directory structure
I have docker installed on my Fedora box. Here I try to understand the structure of its directories. [root@mylab docker]# docker version Client version: 1.5.0 Client API version: 1.17 Go version (client): go1.3.3 Git commit (client): a8a31ef/1.5.0 OS/Arch (client): linux/amd64 Server version: 1.5.0 Server API version: 1.17 Go version (server): go1.3.3 Git commit (server): a8a31ef/1.5.0 … Continue reading Understanding docker directory structure
My first look at AWS container service
First of all, unfortunately AWS ECS (EC2 Container Service) currently is not available in Australia. I guess it is not a surprise. As it happened to some other AWS products in the past as well. Simply speaking, ECS provides container (docker) service on top of EC2 without extra cost. So most EC2 supported features are … Continue reading My first look at AWS container service
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
Puppet Augeas exmaple
Just take my yesterday's post as a example, I want Puppet to add the 'ldap_user_uuid = notExistingAttributeName' to the /etc/sssd/sssd.conf [domain/XXX] section on all RHEL 7 servers. Here is how I did it: 1) First use augtool to check file to understand the structure of this file. Here you can see it defines [domain/XXX] section … Continue reading Puppet Augeas exmaple