Package docker ce has no installation candidate
docker-ce Install and Configure cc-runtime 1. Uninstall Old versions
# DNF remove docker \
docker-common \
docker-selinux \
docker-engine-selinux \
docker-engine
2. Install Docker CE
Install docker ce
(1) SET up the REPOSITORY
Docker ce install
# dnf-y Install Dnf-plugins-core
# DNF config-manager \
--add-repo \
https://download.docker.com/linux/ Fedora/docker-ce.repo
Install docker ce ubuntu
(2) Enable Edge and test reposity
# DNF Config-manager--set-enabled Docker-ce-edge
# DNF Config-manager--set-enabled docker-ce-test
Docker ce has no installation candidate
(3) Install Docker-ce
Install docker ce in ubuntu
# DNF Install Docker-ce
(4) Start Docker
$ sudo systemctl start docker
3. RPM Install
(1) Get Docker-ce RPM Package
Install docker ce on ubuntu
https://download.docker.com/linux/fedora/27/x86_64/stable/Packages/
(2) Install RPM Package
(3) Start Docker
$ sudo systemctl start docker
4. Test Docker
$ sudo docker run Hello-world
5. Configure Daemon.json
(1) Add JSON file Daemon.json in/etc/docker
# Vim/etc/docker/daemon.json
{
"default-runtime": "Cc-runtime",
"runtimes": {
"cc-runtime": {
"Path": "/usr/bin/cc-runtime"}}
}
(2) Reboot Docker Daemon
$ sudo systemctl restart Docker
6. Test Docker
Test follow as (4)
7. Reference
[1] https://docs.docker.com/install/linux/docker-ce/fedora/#install-docker-ce-1
[2] https://www.binss.me/blog/what-is-kata-containers/