Docker-ce Install and configure Cc-runtime on FEDORA27

Source: Internet
Author: User
Tags json docker run

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/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.