Docker For Centos 6

2/13/2022by admin
  1. Docker For Centos 6 Install
  2. Install Docker For Centos 6

Details about how to use Kong in Docker can be found on the DockerHub repository hosting the image: kong. We also have a Docker Compose template with built-in orchestration and scalability. With a Database. Here is a quick example showing how to connect a Kong container to a Cassandra or PostgreSQL container. Create a Docker network. Dec 16, 2017 $ docker commit 4f0b435cdbd7 man-centos $ docker run -i -t man-centos [email protected] /# man man No manual entry for man. Now we have a CentOS container where man is already installed. I can’t (that I know of) inspect the container and know whether or not man is installed without running it.

Sometimes we forgot to set timezone properly for newly installed systems or sometimes we need to change the timezone of systems for various testing etc. Under CentOS/RHEL systems all timezone settings file are located under /usr/share/zoneinfo/ directory and /etc/localtime is the file use is used by operating system to set current timezone for system. So the best way to change the time zone of the server is to link /etc/localtime file to correct configuration file under /usr/share/zoneinfo/ files.

First check current timezone used by your system using date command.


As per the above example, our system timezone is set to EST.

Change TimeZone in CentOS/RHEL 8/7

In CentOS/RHEL 7 we use timedatectl command to change current timezone of system. First use following command to list all timezones

Docker For Centos 6 Install

Now use following command to change timezone to America/Los_Angeles.

Change TimeZone in CentOS/RHEL 6/5

Download docker for centos 6

To change timezone on CentOS/RHEL 6/5 we can simply link /etc/localtime file with correct timezone configuration file. For example we are setting America/Los_Angeles as our local system timezone.

Install Docker For Centos 6

Your timezone has been changed successfully. Let’s check the timezone again.

Comments are closed.