The sample output should be like this – rvice - Docker Application Container Engine To check whether docker is started or not, use the following command – $ sudo systemctl status docker The following NEW packages will be installed:Ġ upgraded, 3 newly installed, 0 to remove and 212 not upgraded.Īfter this operation, 73.7 MB of additional disk space will be used. The following additional packages will be installed: Use 'sudo apt autoremove' to remove them. Libtagc0 mysql-server-5.7 mysql-server-core-5.7 Libgranite-common libgranite3 libgsignon-glib1 libindicate5 libnoise-core0 The following packages were automatically installed and are no longer required:Īpport-hooks-elementary contractor libgda-5.0-4 libgda-5.0-common The sample output should be like this – Reading package lists.
ADD DOCKER INSECURE REGISTRY UBUNTU INSTALL
Notice that, docker-engine is not installed,to install Docker-engine, use the following command – $ sudo apt-get install -y docker-engine The sample output should be like this – docker-engine: To verify it, use the following command – $ apt-cache policy docker-engine Make sure you are about to install from the Docker repository instead of the default Ubuntu repository.
ADD DOCKER INSECURE REGISTRY UBUNTU UPDATE
To update the package database with the Docker packages from the newly added repository, use the following command – $ sudo apt-get update To add the Docker repository to APT sources, use the following command – $ echo "deb ubuntu-xenial main" | sudo tee /etc/apt//docker.list Gpg: key 2C52609D: public key "Docker Release Tool (releasedocker) " imported Gpg: requesting key 2C52609D from hkp server The sample output should be like this – Executing: /tmp/tmp.akuLSrhQz8/gpg.1.sh -keyserver Use the following command to add the GPG key for the official Docker repository to the system- $ sudo apt-key adv -keyserver hkp://:80 -recv-keys 58118E89F3A912897C070ADBF76221572C52609D To update the packages, use the following command – $ sudo apt-get update Installing Dockerīefore install Docker, it should required updated packages. It is basically a container engine which uses the Linux Kernel features like namespaces and control groups to create containers on top of an operating system and automates the application deployment on the container. Docker is written in Go Programming language and is developed by Dotcloud. The container allows the developer to package up all project resources such as libraries, dependencies, assets etc. Docker is an open-source project that automates the deployment of application inside the software container.