Installing a Docker
Installation
The docker rpm installation packages are installed in iso or repo. You can configure the yum source as the repo file of the public repository address and use yum to install the installation package.
- Create the yum source, configure the EulerOS-base.repo file in the /etc/yum.repos.d/ directory, and add the following configuration information:
[base] name=EulerOS-base baseurl=file:///media/ enabled=1 gpgcheck=1 gpgkey=file:///media/RPM-GPG-KEY-EulerOS
- Run the following command for installation:
yum install -y docker-engine
- Run the following command for startup:
Docker is enabled by default.
You can view the startup parameter (daemon by default) by running following commands:
root@euler:~/workspace# ps -eaf|grep docker root295210 16:55 00:00:00 /usr/bin/docker daemon -H fd:// root334212130 17:11 pts/000:00:00 grep docker
Uninstall a Docker
yum remove docker-engine