Skip to content

Commit f8b9c34

Browse files
committed
docker: more and better
1 parent 56d3812 commit f8b9c34

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

docs/install-docker.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,21 @@ We use [Docker](https://www.docker.com) for images and containers.
66

77
Simply go to [Docker](https://www.docker.com) and download your version.
88

9+
## Install Docker (Ubuntu)
10+
11+
```bash
12+
sudo apt install docker.io
13+
```
14+
15+
Post-install, rather than rootless, prefer to (<https://docs.docker.com/engine/install/linux-postinstall/>):
16+
17+
```bash
18+
sudo groupadd docker # may already exist
19+
sudo usermod -aG docker $USER
20+
```
21+
22+
Then log out and in or simply `newgrp docker`.
23+
924
## Additional Information
1025

1126
### Similar and related
@@ -18,6 +33,19 @@ Compose V2 is included with all currently supported versions of Docker Desktop.
1833

1934
- [osrf/rocker](https://github.com/osrf/rocker): A tool to run docker containers with overlays and convenient options for things like GUIs etc.
2035

36+
Can be installed via `pip`:
37+
38+
```bash
39+
pip install rocker
40+
```
41+
42+
But starting on Ubuntu 24.04:
43+
44+
```bash
45+
pipx install rocker
46+
pipx ensurepath
47+
```
48+
2149
### Tutorials and Examples
2250

2351
- <https://asrob.uc3m.es/tutoriales/software/docker.html>

0 commit comments

Comments
 (0)