![]() ![]() This might take some time as it will also install any additional libraries that it requires. Get:7 stretch/stable amd64 Packages Step 4: Installing Docker CEĪfter setting up the repository, we can now install the Docker CE, as well as the Docker CLI by running the following command: apt-get install -y docker-ce docker-ce-cli apt-get updateĪfter applying the command, you should see the repository link added: Get:5 stretch InRelease We can now update our packages, which should include the repository from Docker. add-apt-repository "deb $(lsb_release -cs) stable" Once added, add the repository pointing to ‘stable’ update channel. To add the Docker repository to our server, we need to add the GPG keys first with the following commands: curl -fsSL | sudo apt-key add. apt-get install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common build-essential Step 3: Setting Up Docker Repository Start the installation by ensuring that all the packages used by docker as dependencies are installed. Once the upgrade is complete, we can move on to the next step. We can do this by running the following commands: $ apt-get update Replace “root” with your admin username if you’re not planning on using the root account.īefore starting with the installation, we need to update the OS packages to their latest versions. Remember to replace “IP_ADDRESS” and “PORT_NUMBER” with your actual server IP address and SSH port number. Full SSH root access or a user with sudo privileges is also required.Ĭonnect to your server via SSH as the root user using the following command: ssh _ADDRESS -p PORT_NUMBER.For the purposes of this tutorial, we will be using a Debian 9 Server. ![]() ![]() In this guide, we will do the installation of Docker Community Edition on Debian 9. The key benefit of Docker is that it allows users to package an application with all of its dependencies into a standardized unit for software development.ĭocker Engine is available in Community Edition (CE) and Enterprise Edition (EE). Docker is an open-source application that provides lightweight operating-system-level virtualization through the use of containers. ![]()
0 Comments
Leave a Reply. |