chore(docker): send images to remote hosts

This commit is contained in:
Michele Cereda
2024-10-27 13:23:15 +01:00
parent b83473d374
commit e16665b180
2 changed files with 7 additions and 2 deletions

View File

@@ -229,6 +229,9 @@ docker inspect --format='{{index .RepoDigests 0}}' 'node:18-buster'
# Act upon files in volumes.
sudo ls "$(docker volume inspect --format '{{.Mountpoint}}' 'baikal_config')"
sudo vim "$(docker volume inspect --format '{{.Mountpoint}}' 'gitea_config')/app.ini"
# Send images to other nodes with Docker.
docker save 'local/image:latest' | ssh -C 'user@remote.host' docker load
```
</details>
@@ -288,8 +291,7 @@ The docker daemon is configured using the `/etc/docker/daemon.json` file:
```json
{
"default-runtime": "runc",
"dns": ["8.8.8.8", "1.1.1.1"],
"dns": ["8.8.8.8", "1.1.1.1"]
}
```