Docker Install Ubuntu
# Docker Install Ubuntu
## Docker Tutorial
(#) (#) (#)
## Docker Installation
(#) (#) (#) (#) (#) (#) (#)
## Docker Usage
(#) (#) (#) (#) (#) (#) (#) (#) (#)
## Docker Examples
(#) (#) (#) [Docker Install Node.js](#) (#) (#) (#) (#) (#) (#) (#)
## Docker Reference Manual
(#) (#)
# Docker Install Ubuntu
Ubuntu is a Linux distribution based on Debian.
### 1. View Available Ubuntu Versions
Visit the Ubuntu image repository address: [https://hub.docker.com/_/ubuntu?tab=tags&page=1](https://hub.docker.com/_/ubuntu?tab=tags&page=1).
You can view other versions of Ubuntu by using Sort by. The default is the latest version ubuntu:latest.
!(#)
You can also find other versions you want in the dropdown list:
!(#)
### 2. Pull the Latest Ubuntu Image
$ docker pull ubuntu
or:
$ docker pull ubuntu:latest
[!(#)](#)
### 3. View Local Images
$ docker images
[!(#)](#)
In the image above, we can see that we have installed the latest version of ubuntu.
### 4. Run the Container and Access the Ubuntu Container Using exec Command
$ docker run -itd --name ubuntu-test ubuntu
[!(#)](#)
### 5. Installation Successful
Finally, we can view the container's running information using the docker ps command:
[!(#)](#)
YouTip