I am unable to restart a container. I am running the following command:
restart container <Container Name>
I am getting the following result:
usage: container.py restart [-h] --name NAME container.py restart: error: the following arguments are required: --name
If I instead do:
restart container --name <Container Name>
I get Invalid command.
VyOS Information:
Version: VyOS 1.4-rolling-202208140217 Release train: sagitta Built by: [email protected] Built on: Sun 14 Aug 2022 02:17 UTC Build UUID: fc3533fc-c312-45ac-b0ef-a99f7ffbef1c Build commit ID: 22ffa0c6cba381 Architecture: x86_64 Boot via: installed image System type: VMware guest Hardware vendor: VMware, Inc. Hardware model: VMware Virtual Platform Hardware S/N: VMware-42 34 ef 3b b2 87 06 89-b2 89 7f b1 89 00 47 0e Hardware UUID: 3bef3442-87b2-8906-b289-7fb18900470e Copyright: VyOS maintainers and contributor
Container Configuration:
name pihole { cap-add net-bind-service environment PIHOLE_DNS_1 { value 1.1.1.1 } environment PIHOLE_DNS_2 { value 9.9.9.9 } environment QUERY_LOGGING { value false } environment TZ { value Europe/Stockholm } image pihole/pihole:latest network pihole-net { address 10.0.10.10 } port dns_pihole { destination 53 protocol udp source 53 } port web_admin { destination 80 protocol tcp source 8080 } restart on-failure volume pihole-config { destination /etc/pihole source /opt/podman/pihole/data/pihole } volume pihole-dnsmasq { destination /etc/dnsmasq.d source /opt/podman/pihole/data/dnsmasq } } network pihole-net { prefix 10.0.10.0/24 }
This occurs for all containers. I have only tried this latest version of VyOS 1.4. It can be worth noting that I upgraded from VyOS 1.3.1S1 to 1.4-rolling-202208140217.