docker-rhel9
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docker-rhel9 [2023/10/23 08:37] – created baumi | docker-rhel9 [2024/02/06 09:18] (current) – baumi | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Docker on RHEL (Red Hat Enterprise Linux ====== | + | ====== Docker |
+ | |||
+ | ===== Installation | ||
Copied from: https:// | Copied from: https:// | ||
- < | - < | ||
- | 2. sudo yum remove docker \ | + | - < |
| | ||
| | ||
Line 12: | Line 14: | ||
| | ||
| | ||
- | 3. sudo yum install -y yum-utils device-mapper-persistent-data lvm2 | + | </ |
- | 4. sudo yum-config-manager --add-repo https:// | + | - < |
- | 5. sudo yum install docker-ce | + | - < |
- | 6.1 sudo systemctl start docker | + | - < |
- | 6.2 sudo systemctl enable docker | + | - < |
- | 7. sudo docker --version | + | - < |
- | 8. sudo docker run hello-world | + | - < |
- | 9. sudo usermod -aG docker $(whoami) | + | - < |
+ | - < | ||
+ | |||
+ | ===== Upgrade ===== | ||
+ | <code bash> | ||
+ | sudo yum --disablerepo=" | ||
+ | </ | ||
+ | |||
+ | |||
+ | {{tag>kb linux docker}} | ||
docker-rhel9.1698043066.txt.gz · Last modified: 2023/10/23 08:37 by baumi