GWCMD on containerized ignition

Can I use docker exec to run gwcmd commands on a containerized ignition deployment? (i'm thinking specifically of taking gateway backups/launching gateway restores. Although backup is more urgent than restore, as restore can be done by stopping the old container and relaunching a new one)

edit, swapped PS for exec

Yes, you can, e.g.:

docker exec <container name> ./gwcmd.sh

Keep in mind that the paths you use will correspond to those within the container.

1 Like