{"id":2858,"date":"2024-01-31T10:00:41","date_gmt":"2024-01-31T10:00:41","guid":{"rendered":"https:\/\/draculaservers.com\/tutorials\/?p=2858"},"modified":"2024-01-30T23:31:35","modified_gmt":"2024-01-30T23:31:35","slug":"docker-installation-on-ubuntu","status":"publish","type":"post","link":"https:\/\/draculaservers.com\/tutorials\/docker-installation-on-ubuntu\/","title":{"rendered":"The Complete Docker Installation on Ubuntu (2024)"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Docker is a product-based service that simplifies the management of application processes. It stores the processes in isolated containers and adds a complete filesystem for them to operate individually. This grants application processes more freedom as they are not dependent on the environment. You can think of docker containers as virtual machines that let you create and run images; they are robust, portable, and resource-friendly.\u00a0<\/span><\/p>\n\n<p>Let&#8217;s go over the complete and simplified installation of Docker for Ubuntu!<\/p>\n<h2 id=\"install-docker-in-ubuntu-using-apt-installer\">Install Docker in Ubuntu Using Apt Installer<\/h2>\n<p><span style=\"font-weight: 400;\">Docker has published and maintained its official repository. However, the apt package manager can download and install Docker on your system. To do this, you must add the docker\u2019s repository to your system&#8217;s \u201c<\/span><b>apt<\/b><span style=\"font-weight: 400;\">\u201d sources list.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To follow along with this method, start by updating your apt packages list by running the following command on your Ubuntu System:<\/span><\/p>\n<pre><b>sudo apt update<\/b><\/pre>\n<p><span style=\"font-weight: 400;\">You will be prompted to provide the \u201c<\/span><b>sudo<\/b><span style=\"font-weight: 400;\">\u201d password to update the packages list. Once you have updated them, you can choose to upgrade the available packages by running the command \u201c<\/span><b>sudo apt upgrade<\/b><span style=\"font-weight: 400;\">.\u201d However, upgrading these packages is not a required step.<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/1-6.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2860\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/1-6.jpg\" alt=\"\" width=\"968\" height=\"259\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/1-6.jpg 968w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/1-6-300x80.jpg 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/1-6-768x205.jpg 768w\" sizes=\"auto, (max-width: 968px) 100vw, 968px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">To be able to add the Docker\u2019s official repository to the list of apt sources, you will require some tools. To download them on your Ubuntu system, open a new terminal session and run the following command:<\/span><\/p>\n<pre><b>sudo apt install ca-certificates curl gnupg lsb-release<\/b><\/pre>\n<p><span style=\"font-weight: 400;\">Sometimes, these tools are available on your system. However, if you are running a fresh installation of Ubuntu or if you are unclear about the availability of the following tools, then in that case it is recommended to run the above-mentioned command:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/2-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2861\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/2-4.jpg\" alt=\"\" width=\"977\" height=\"318\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/2-4.jpg 977w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/2-4-300x98.jpg 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/2-4-768x250.jpg 768w\" sizes=\"auto, (max-width: 977px) 100vw, 977px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">After downloading the pre-requisite tools, you can start by adding the Docker\u2019s GPG key to your system. This key will act as an apt validation file for your Docker packages during installation. To do this, let\u2019s create a new directory in the system \u201capt\u201d directory, by running the following command:<\/span><\/p>\n<pre><b>sudo mkdir -p \/etc\/apt\/keyrings<\/b><\/pre>\n<p><span style=\"font-weight: 400;\">Once that is done, run the following command to download the Official Docker\u2019s Linux Key, convert it into OpenGPG encoding, and save it inside the keyrings directory that you have created above:<\/span><\/p>\n<pre><b>curl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo gpg --dearmor -o \/etc\/apt\/keyrings\/docker.gpg<\/b><\/pre>\n<p><span style=\"font-weight: 400;\">Afterward, you need to change the permissions for the Keyring file so that the \u201capt\u201d package manager can detect and read from it:<\/span><\/p>\n<pre><b>sudo chmod a+r \/etc\/apt\/keyrings\/docker.gpg<\/b><\/pre>\n<p><span style=\"font-weight: 400;\">After that, add the Docker Package to your system\u2019s apt list by running the following command:<\/span><\/p>\n<pre><b>echo \"deb [arch=$(dpkg --print-architecture) signed-by=\/etc\/apt\/keyrings\/docker.gpg] https:\/\/download.docker.com\/linux\/ubuntu $(lsb_release -cs) stable\" | sudo tee \/etc\/apt\/sources.list.d\/docker.list &gt; \/dev\/null<\/b><\/pre>\n<p><span style=\"font-weight: 400;\">This command will automatically detect your system architecture and download the suitable package release for the package list. The package will be verified using the GPG key you added earlier, and the docker repository will be added as the new package in the list.<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/3-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2862\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/3-4.jpg\" alt=\"\" width=\"983\" height=\"113\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/3-4.jpg 983w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/3-4-300x34.jpg 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/3-4-768x88.jpg 768w\" sizes=\"auto, (max-width: 983px) 100vw, 983px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">To ensure that the apt package manager reads the Docker\u2019s repository as a source, you need to run the update command once more. Therefore, execute the following command:<\/span><\/p>\n<pre><b>sudo apt update<\/b><\/pre>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/4-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2863\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/4-4.jpg\" alt=\"\" width=\"969\" height=\"420\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/4-4.jpg 969w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/4-4-300x130.jpg 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/4-4-768x333.jpg 768w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">At this point, you can use the apt package manager and its \u201c<strong>install<\/strong>\u201d option to download and install Docker in your system:<\/span><\/p>\n<pre><b>sudo apt install docker-ce docker-ce-cli containerd.io<\/b><\/pre>\n<p><span style=\"font-weight: 400;\">This command will install the latest <\/span><b>Docker Community Edition<\/b><span style=\"font-weight: 400;\"> to your system. There are three installation files in this command: <\/span><b>docker-ce<\/b><span style=\"font-weight: 400;\"> for Docker Engine, <\/span><b>docker-ce-cli<\/b><span style=\"font-weight: 400;\"> for Docker Command Line Interface, and <\/span><b>containerd.io,<\/b><span style=\"font-weight: 400;\"> which will manage containers.<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/5-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2864\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/5-4.jpg\" alt=\"\" width=\"963\" height=\"473\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/5-4.jpg 963w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/5-4-300x147.jpg 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/5-4-768x377.jpg 768w\" sizes=\"auto, (max-width: 963px) 100vw, 963px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">You have successfully installed Docker on your Ubuntu machine through the apt package manager. You can move on to the \u201c<strong>Verify the Docker Installation<\/strong>\u201d part.<\/span><\/p>\n<h2 id=\"install-docker-using-the-installation-script\">Install Docker Using the Installation Script<\/h2>\n<p><span style=\"font-weight: 400;\">Docker\u2019s Installation via script is a more convenient way as the script automates the installation process for all the components. It\u2019s more of a laid-back approach, and it&#8217;s completely non-interactive. You just have to execute two commands and let the system do the rest for you.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The first step is to download the script file by executing the following command in your terminal window:<\/span><\/p>\n<pre><b>curl -fsSL https:\/\/get.docker.com -o get-docker.sh<\/b><\/pre>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/6-3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2865\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/6-3.jpg\" alt=\"\" width=\"968\" height=\"102\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/6-3.jpg 968w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/6-3-300x32.jpg 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/6-3-768x81.jpg 768w\" sizes=\"auto, (max-width: 968px) 100vw, 968px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Once the script is downloaded on your system, execute the installation script by running the following command:<\/span><\/p>\n<pre><b>sudo sh get-docker.sh<\/b><\/pre>\n<p><span style=\"font-weight: 400;\">You will be asked to provide the sudo password to execute the shell script. Once you have provided the password, the downloading and installation process will begin:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/7-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2866\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/7-4.jpg\" alt=\"\" width=\"966\" height=\"629\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/7-4.jpg 966w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/7-4-300x195.jpg 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/7-4-768x500.jpg 768w\" sizes=\"auto, (max-width: 966px) 100vw, 966px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">After the installation process is complete, you will see a confirmation message or prompt on the terminal screen<\/span><\/p>\n<p><span style=\"color: #ff2600;\"><b>Note:<\/b><\/span><span style=\"font-weight: 400;\"> The script is an easier solution, but it lacks customization; you can\u2019t modify the script source, and it doesn&#8217;t update dependencies. Another flaw is that scripts are not designed to do updates for docker.<\/span><\/p>\n<h2 id=\"verify-the-docker-installation\">Verify the Docker Installation<\/h2>\n<p><span style=\"font-weight: 400;\">After the docker has been installed, by either the apt method or by the shell script method, the next step is to verify that the installation was successful and everything works perfectly. To do this, open up a new terminal session and type the following command inside of it:<\/span><\/p>\n<pre><b>sudo docker run hello-world<\/b><\/pre>\n<p><span style=\"font-weight: 400;\">By executing this command, docker will try to find the \u201c<strong>hello_world<\/strong>\u201d template locally or pull it from the internet (Docker\u2019s Repository). Once that is done, it will show the output of the \u201c<strong>hello_world<\/strong>\u201d template on the terminal:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/8-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2867\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/8-4.jpg\" alt=\"\" width=\"968\" height=\"478\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/8-4.jpg 968w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/8-4-300x148.jpg 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/8-4-768x379.jpg 768w\" sizes=\"auto, (max-width: 968px) 100vw, 968px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">With the \u201c<strong>Hello from Docker!<\/strong>\u201d message, docker is now installed on your system, and the installation is working correctly.<\/span><\/p>\n<p><b>Dealing With Permission Denied Error:<\/b><span style=\"font-weight: 400;\"> In case you get a permission denied error while trying to execute the <\/span><b>hello-world<\/b><span style=\"font-weight: 400;\"> command, then you can run the following command to reset the docker socket:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/9-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2868\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/9-4.jpg\" alt=\"\" width=\"974\" height=\"136\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/9-4.jpg 974w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/9-4-300x42.jpg 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/9-4-768x107.jpg 768w\" sizes=\"auto, (max-width: 974px) 100vw, 974px\" \/><\/a><\/p>\n<pre><b>sudo chmod 666 \/var\/run\/docker.sock<\/b><\/pre>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/10-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2869\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/10-4.jpg\" alt=\"\" width=\"976\" height=\"58\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/10-4.jpg 976w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/10-4-300x18.jpg 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/10-4-768x46.jpg 768w\" sizes=\"auto, (max-width: 976px) 100vw, 976px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">This error can occur when you install the shell script, as scripting doesn\u2019t configure or set your ports.<\/span><\/p>\n<h2 id=\"affordable-vps-hosting-with-dracula-servers\"><span style=\"color: #ff2600;\">Affordable VPS Hosting With Dracula Servers<\/span><\/h2>\n<p>Dracula Servers offers high-performance server hosting at entry-level prices. The plans include Linux VPS, Sneaker Servers, Dedicated Servers &amp; turnkey solutions. If you&#8217;re looking for quality self-managed servers with high amounts of RAM and storage, look no further.<\/p>\n<p>Dracula Server Hosting is also Perfect for Hosting Telegram.Forex App with built-in support for MT4 with trade copier. Check the plans for yourself by clicking <a href=\"https:\/\/draculaservers.com\/#pick-plan\">Here<\/a>!<\/p>\n<h2 id=\"creating-a-dedicated-users-group-for-docker\">Creating a Dedicated Users Group for Docker<\/h2>\n<p><span style=\"font-weight: 400;\">Instead of giving sudo privileges to every user, you can create a docker group and assign users to that group so that they can use docker commands without requiring sudo privileges. Adding users to the docker group will also avoid the prefix sudo with every command, even if you are the only user of the system.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To create a dedicated user group for docker, run the following command:<\/span><\/p>\n<pre><b>sudo groupadd docker<\/b><\/pre>\n<p><span style=\"font-weight: 400;\">Afterward, add the current user to the \u201cdocker\u201d group by running the following command:<\/span><\/p>\n<pre><b>sudo usermod -aG docker $USER<\/b><\/pre>\n<p><span style=\"font-weight: 400;\">If you want to add a user that is not the \u201c<strong>current user<\/strong>,\u201d then replace the \u201c<strong>$USER<\/strong>\u201d with the user&#8217;s name on your system.<\/span><\/p>\n<h2 id=\"uninstall-docker-from-ubuntu\">Uninstall Docker From Ubuntu<\/h2>\n<p><span style=\"font-weight: 400;\">If you want to uninstall docker completely from your Ubuntu System, then open up a new terminal session and execute the following command inside of it:<\/span><\/p>\n<pre><b>sudo apt-get purge docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-ce-rootless-extras<\/b><\/pre>\n<p><span style=\"font-weight: 400;\">This command will not only docker but also docker plugins, rootless extras, and even dependencies.<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/11-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2870\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/11-4.jpg\" alt=\"\" width=\"968\" height=\"491\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/11-4.jpg 968w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/11-4-300x152.jpg 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/11-4-768x390.jpg 768w\" sizes=\"auto, (max-width: 968px) 100vw, 968px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">However, uninstalling docker does not automatically remove images, containers, and docker\/project configuration files from your system. You have to do it manually by executing the following commands:<\/span><\/p>\n<pre><b> sudo rm -rf \/var\/lib\/docker<\/b>\r\n<b>\u00a0sudo rm -rf \/var\/lib\/containerd<\/b><\/pre>\n<p><span style=\"font-weight: 400;\">Additionally, you can ensure that no orphan packages are left in your system by executing the following commands:<\/span><\/p>\n<pre><strong>sudo apt-get autoclean<\/strong>\r\n<strong>sudo apt-get autoremove<\/strong><\/pre>\n<p><span style=\"font-weight: 400;\">With all of these commands, you have successfully uninstalled Docker and all of its files from your Ubuntu machine.<\/span><\/p>\n<h2 id=\"managing-docker-system-services\">Managing Docker System Services<\/h2>\n<p><span style=\"font-weight: 400;\">To manage the running of docker\u2019s services on your Ubuntu system, you will use the \u201csystemctl\u201d and control the service\u2019s behavior. The most commonly used systemctl commands for docker services are as follows:<\/span><\/p>\n<pre><b>sudo systemctl start docker\u00a0 # Starts Docker Service<\/b>\r\n<b>sudo systemctl stop docker\u00a0 # Stops Docker Services<\/b>\r\n<b>sudo systemctl restart docker # Restarts Docker Service<\/b><\/pre>\n<p><span style=\"font-weight: 400;\">Moreover, if you want to toggle the running of docker\u2019s service at boot time, you will use the following commands:<\/span><\/p>\n<pre><b>sudo systemctl enable docker #Dockers Starts with System Boot<\/b>\r\n<b>sudo systemctl disable docker #Docker doesn\u2019t Start with System Boot<\/b><\/pre>\n<p><span style=\"font-weight: 400;\">With these, you can configure the running of docker\u2019s service on your system efficiently.\u00a0<\/span><\/p>\n<h2 id=\"basic-docker-commands\">Basic Docker Commands<\/h2>\n<p><span style=\"font-weight: 400;\">To get you started with docker, here is a list of basic docker commands:<\/span><\/p>\n<ol>\n<li><span style=\"color: #ff2600;\"><b> Pull an Image: <\/b><\/span><span style=\"font-weight: 400;\">To download a Docker image from the Docker Hub or another registry, use:<\/span><\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">\u00a0docker pull &lt;image_name&gt;<\/span><\/pre>\n<ol start=\"2\">\n<li><span style=\"font-weight: 400;\"><span style=\"color: #ff2600;\"><strong> List Images:<\/strong><\/span> View the list of locally available Docker images:<\/span><\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">docker images<\/span><\/pre>\n<ol start=\"3\">\n<li><span style=\"font-weight: 400;\"><span style=\"color: #ff2600;\"><strong> Run a Container:<\/strong><\/span> Start a container based on a specific image:<\/span><\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">docker run &lt;image_name&gt;<\/span><\/pre>\n<ol start=\"4\">\n<li><span style=\"font-weight: 400;\"><span style=\"color: #ff2600;\"><strong> List Running Containers:<\/strong><\/span> Check the containers currently running on your system:<\/span><\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">docker ps<\/span><\/pre>\n<ol start=\"5\">\n<li><span style=\"font-weight: 400;\"><span style=\"color: #ff2600;\"><strong> List All Containers:<\/strong><\/span> View all containers, including stopped ones:<\/span><\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">docker ps -a<\/span><\/pre>\n<ol start=\"6\">\n<li><span style=\"font-weight: 400;\"><strong><span style=\"color: #ff2600;\"> Stop a Running Container:<\/span><\/strong> To stop a running container completely, the command is<\/span><\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">docker stop &lt;container_id&gt;<\/span><\/pre>\n<ol start=\"7\">\n<li><span style=\"font-weight: 400;\"><strong><span style=\"color: #ff2600;\"> Remove a Container:<\/span><\/strong> Delete a stopped container:<\/span><\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">docker rm &lt;container_id&gt;<\/span><\/pre>\n<ol start=\"8\">\n<li><span style=\"font-weight: 400;\"><span style=\"color: #ff2600;\"><strong> Remove an Image:<\/strong><\/span> Delete a Docker image:<\/span><\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">docker rmi &lt;image_name&gt;<\/span><\/pre>\n<ol start=\"9\">\n<li><span style=\"font-weight: 400;\"><span style=\"color: #ff2600;\"><strong> Execute Commands in a Running Container:<\/strong><\/span> Run a command inside a running container:<\/span><\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">docker exec -it &lt;container_id&gt; &lt;command&gt;<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">That is it for this guide.<\/span><\/p>\n<h2 id=\"conclusion\">Conclusion<\/h2>\n<p><span style=\"font-weight: 400;\">Docker can be installed on your Ubuntu system through various methods. However, the two most recommended methods for installing docker on your system are using the \u201capt\u201d package installer or the docker\u2019s installation shell script.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To use the apt installer to install docker, you must get the GPG key for docker from its official repository to add the docker\u2019s repo into your apt sources. After this, you can download\/install Docker and its packages to your system.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For the shell script, use the command mentioned in the guide to download the script and execute the script with sudo privileges. Once the installation is done, verify its integrity and working by running the docker\u2019 hello_world template.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Docker is a product-based service that simplifies the management of application processes. It stores the processes in isolated containers and adds a complete filesystem for them to operate individually. This grants application processes more freedom as they are not dependent on the environment. You can think of docker containers as virtual machines that let you [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":2876,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[172,22],"tags":[211,212,209,210],"class_list":["post-2858","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-tutorials","category-ubuntu","tag-docker-engine-linux","tag-docker-installation-guide","tag-docker-on-ubuntu","tag-docker-ubuntu"],"blocksy_meta":[],"featured_image_urls_v2":{"full":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-15.png",1280,720,false],"thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-15-150x150.png",150,150,true],"medium":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-15-300x169.png",300,169,true],"medium_large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-15-768x432.png",768,432,true],"large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-15-1024x576.png",1024,576,true],"1536x1536":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-15.png",1280,720,false],"2048x2048":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-15.png",1280,720,false],"pk-small":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-15-80x80.png",80,80,true],"pk-thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-15-300x225.png",300,225,true]},"post_excerpt_stackable_v2":"<p>Docker is a product-based service that simplifies the management of application processes. It stores the processes in isolated containers and adds a complete filesystem for them to operate individually. This grants application processes more freedom as they are not dependent on the environment. You can think of docker containers as virtual machines that let you create and run images; they are robust, portable, and resource-friendly.\u00a0 Let&#8217;s go over the complete and simplified installation of Docker for Ubuntu! Install Docker in Ubuntu Using Apt Installer Docker has published and maintained its official repository. However, the apt package manager can download and&hellip;<\/p>\n","category_list_v2":"<a href=\"https:\/\/draculaservers.com\/tutorials\/category\/linux-tutorials\/\" rel=\"category tag\">Linux Tutorials<\/a>, <a href=\"https:\/\/draculaservers.com\/tutorials\/category\/ubuntu\/\" rel=\"category tag\">Ubuntu<\/a>","author_info_v2":{"name":"Abdul Mannan","url":"https:\/\/draculaservers.com\/tutorials\/author\/abdul-mannan-tbgmail-com\/"},"comments_num_v2":"0 comments","yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>The Complete Docker Installation on Ubuntu (2024) - Dracula Servers Tutorials<\/title>\n<meta name=\"description\" content=\"To install Docker on Ubuntu, download its GPG key and add it as a source in your apt sources. Or use the docker installation shell script.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/draculaservers.com\/tutorials\/docker-installation-on-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Complete Docker Installation on Ubuntu (2024) - Dracula Servers Tutorials\" \/>\n<meta property=\"og:description\" content=\"To install Docker on Ubuntu, download its GPG key and add it as a source in your apt sources. Or use the docker installation shell script.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/draculaservers.com\/tutorials\/docker-installation-on-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"Dracula Servers Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-31T10:00:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-15.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Abdul Mannan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abdul Mannan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/docker-installation-on-ubuntu\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/docker-installation-on-ubuntu\\\/\"},\"author\":{\"name\":\"Abdul Mannan\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\"},\"headline\":\"The Complete Docker Installation on Ubuntu (2024)\",\"datePublished\":\"2024-01-31T10:00:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/docker-installation-on-ubuntu\\\/\"},\"wordCount\":1504,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/docker-installation-on-ubuntu\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/What-15.png\",\"keywords\":[\"Docker Engine Linux\",\"Docker Installation Guide\",\"Docker on Ubuntu\",\"Docker Ubuntu\"],\"articleSection\":[\"Linux Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/docker-installation-on-ubuntu\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/docker-installation-on-ubuntu\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/docker-installation-on-ubuntu\\\/\",\"name\":\"The Complete Docker Installation on Ubuntu (2024) - Dracula Servers Tutorials\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/docker-installation-on-ubuntu\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/docker-installation-on-ubuntu\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/What-15.png\",\"datePublished\":\"2024-01-31T10:00:41+00:00\",\"description\":\"To install Docker on Ubuntu, download its GPG key and add it as a source in your apt sources. Or use the docker installation shell script.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/docker-installation-on-ubuntu\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/docker-installation-on-ubuntu\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/docker-installation-on-ubuntu\\\/#primaryimage\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/What-15.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/What-15.png\",\"width\":1280,\"height\":720,\"caption\":\"Docker Installation on Ubuntu (2024)\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/docker-installation-on-ubuntu\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Complete Docker Installation on Ubuntu (2024)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"name\":\"Dracula Servers Tutorials\",\"description\":\"Dedicated Servers\",\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\",\"name\":\"Dracula Servers\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"width\":1625,\"height\":200,\"caption\":\"Dracula Servers\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\",\"name\":\"Abdul Mannan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"caption\":\"Abdul Mannan\"},\"description\":\"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Complete Docker Installation on Ubuntu (2024) - Dracula Servers Tutorials","description":"To install Docker on Ubuntu, download its GPG key and add it as a source in your apt sources. Or use the docker installation shell script.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/draculaservers.com\/tutorials\/docker-installation-on-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"The Complete Docker Installation on Ubuntu (2024) - Dracula Servers Tutorials","og_description":"To install Docker on Ubuntu, download its GPG key and add it as a source in your apt sources. Or use the docker installation shell script.","og_url":"https:\/\/draculaservers.com\/tutorials\/docker-installation-on-ubuntu\/","og_site_name":"Dracula Servers Tutorials","article_published_time":"2024-01-31T10:00:41+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-15.png","type":"image\/png"}],"author":"Abdul Mannan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Abdul Mannan","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/draculaservers.com\/tutorials\/docker-installation-on-ubuntu\/#article","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/docker-installation-on-ubuntu\/"},"author":{"name":"Abdul Mannan","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6"},"headline":"The Complete Docker Installation on Ubuntu (2024)","datePublished":"2024-01-31T10:00:41+00:00","mainEntityOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/docker-installation-on-ubuntu\/"},"wordCount":1504,"commentCount":0,"publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/docker-installation-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-15.png","keywords":["Docker Engine Linux","Docker Installation Guide","Docker on Ubuntu","Docker Ubuntu"],"articleSection":["Linux Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/draculaservers.com\/tutorials\/docker-installation-on-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/draculaservers.com\/tutorials\/docker-installation-on-ubuntu\/","url":"https:\/\/draculaservers.com\/tutorials\/docker-installation-on-ubuntu\/","name":"The Complete Docker Installation on Ubuntu (2024) - Dracula Servers Tutorials","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/docker-installation-on-ubuntu\/#primaryimage"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/docker-installation-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-15.png","datePublished":"2024-01-31T10:00:41+00:00","description":"To install Docker on Ubuntu, download its GPG key and add it as a source in your apt sources. Or use the docker installation shell script.","breadcrumb":{"@id":"https:\/\/draculaservers.com\/tutorials\/docker-installation-on-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/draculaservers.com\/tutorials\/docker-installation-on-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/docker-installation-on-ubuntu\/#primaryimage","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-15.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-15.png","width":1280,"height":720,"caption":"Docker Installation on Ubuntu (2024)"},{"@type":"BreadcrumbList","@id":"https:\/\/draculaservers.com\/tutorials\/docker-installation-on-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/draculaservers.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"The Complete Docker Installation on Ubuntu (2024)"}]},{"@type":"WebSite","@id":"https:\/\/draculaservers.com\/tutorials\/#website","url":"https:\/\/draculaservers.com\/tutorials\/","name":"Dracula Servers Tutorials","description":"Dedicated Servers","publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/draculaservers.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/draculaservers.com\/tutorials\/#organization","name":"Dracula Servers","url":"https:\/\/draculaservers.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","width":1625,"height":200,"caption":"Dracula Servers"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6","name":"Abdul Mannan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","caption":"Abdul Mannan"},"description":"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot."}]}},"_links":{"self":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/2858","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/comments?post=2858"}],"version-history":[{"count":5,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/2858\/revisions"}],"predecessor-version":[{"id":2877,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/2858\/revisions\/2877"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media\/2876"}],"wp:attachment":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media?parent=2858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/categories?post=2858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/tags?post=2858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}