Update Docker Setup
parent
08a9592e45
commit
1b156ea4f7
1 changed files with 6 additions and 3 deletions
|
|
@ -40,7 +40,7 @@ sudo apt install docker-ce docker-ce-cli containerd.io
|
||||||
|
|
||||||
2. Add the user to the Docker group with:
|
2. Add the user to the Docker group with:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
sudo usermod -aG docker $USER
|
sudo usermod -aG docker $USER
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -50,6 +50,9 @@ sudo usermod -aG docker $USER
|
||||||
|
|
||||||
To confirm Docker is running correctly, test the setup with a simple container. Run the "hello-world" container with the following docker run command:
|
To confirm Docker is running correctly, test the setup with a simple container. Run the "hello-world" container with the following docker run command:
|
||||||
|
|
||||||
``bash
|
```bash
|
||||||
docker run hello-world
|
docker run hello-world
|
||||||
``
|
```
|
||||||
|
|
||||||
|
## Uninstall Docker
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue