b9cdd1cf4e610e8da0483b3e59168c39777a2643
wiki-how.md
... | ... | @@ -1,4 +1,3 @@ |
1 | - |
|
2 | 1 | How to run containers using systemctl as user even when user is logged out |
3 | 2 | -------------------------------------------------------------------------- |
4 | 3 | |
... | ... | @@ -9,4 +8,12 @@ loginctl enable-linger user |
9 | 8 | cd ~/.config/systemd/user/ |
10 | 9 | # Generate systemd files for container |
11 | 10 | podman generate systemd --restart-policy=always -t 1 --name container_name --files` |
11 | +``` |
|
12 | + |
|
13 | +Move a container image using scp |
|
14 | +-------------------------------- |
|
15 | + |
|
16 | +``` |
|
17 | +podman image save 97f3876877e2 -o 97f3876877e2.tgz |
|
18 | +podman load --input 97f3876877e2.tgz |
|
12 | 19 | ``` |
... | ... | \ No newline at end of file |