Add container image
Pull a new image for container
sudo ${vyos_op_scripts_dir}/containers_op.py --pull "${4}"
Attach to a running container
container name
sudo podman exec --interactive --tty "$3" /bin/sh
Delete container image
Delete container image
sudo ${vyos_op_scripts_dir}/containers_op.py --remove "${4}"
Generate Container Image
Name of container image (tag)
Path to Dockerfile
<filename>
sudo podman build --layers --force-rm --tag "$4" $6
Monitor last lines of container logs
container name
sudo podman logs --follow --names "$4"
Show logs from a given container
container name
sudo podman logs --names "$4"
Show containers
sudo ${vyos_op_scripts_dir}/containers_op.py --all
Show container image
sudo ${vyos_op_scripts_dir}/containers_op.py --image
Show logs from a given container
container name
sudo podman logs --names "$4"
Show available container networks
sudo ${vyos_op_scripts_dir}/containers_op.py --networks
Show logs from a given container
container name
sudo podman logs --names "$4"
Restart a given container
container name
sudo podman restart "$3"
Update a container image
Update container image
container name
sudo ${vyos_op_scripts_dir}/containers_op.py --update "${4}"