Just found out this morning that if SELinux is in enforcing mode, it may block the timedatectl command to run in RHEL7. Once changing SELinux to permissive, the problem is gone. Here is the error that I got when executing 'timedatectl set-timezone Australia/Sydney' in a bash script: Failed to issue method call: Did not receive … Continue reading SELinux block timedatectl changes
Category: Linux
Docker Infrastructure v1.0
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