Install Docker In Linux
Install Docker on RHEL/CentOS/Fedora
In brief, after updated your system, you can simply type the follow commands:
FAQ
- If your SELinux and BTRFS are on working, you may meet an error message as follow:
Modify /etc/sysconfig/docker as follow:
Restart your docker service
- Storage Issue:
Error message found in /var/log/upstart/docker.log
Just delete directory /var/lib/docker and restart docker service
Install Docker on Ubuntu/Debian
Generally, you are supposed to add the repository, and then
Both Debian Series and RHEL Series can be controlled by
Once you started your service, you would find a socket file /var/run/docker.sock
, and then you would able to execute your docker commands.