Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

How to install and configure Docker on Godaddy server?

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

In this article, we will discuss how to install the latest version of Docker on GoDaddy VPS (Ubuntu).

Installing Docker on Godaddy Server

Step 1: Open your terminal and ssh into the GoDaddy Server.

$ ssh [username]@[ip]

 

Step 2: Update and upgrade the server by running.

$ sudo apt update -y
$ sudo apt upgrade -y

 

Step 3: Now install the latest version of Docker by running

$ sudo apt install docker.io

 

 

Step 4: Verify the installation by checking the build version 

$ sudo docker version

 

Step 5: Start the docker service by using systemctl command

$ sudo systemctl start docker.service
$ sudo systemctl status docker.service 

 

Step 6: Once again use systemctl command to enable the docker service. Now, Docker will restart whenever your server boots up.

$ sudo systemctl enable docker.service

 

Step 7: Lastly, let’s run a minimal Docker image to make sure Docker is functioning as expected.

$ sudo docker run hello-world

 

My Personal Notes arrow_drop_up
Last Updated : 07 Nov, 2022
Like Article
Save Article
Similar Reads