...
Create a systemd service for the container.
Generate a new systemd service for the port90 proxy container.
Code Block podman generate systemd --new --name swarm-port90-console > /etc/systemd/system/swarm-port90-console.service
Stop the port90 proxy container.
Code Block podman stop swarm-port90-console
Enable port90 proxy container to auto-start on reboot and start it up again.
Code Block systemctl enable swarm-port90-console.service systemctl start swarm-port90-console.service
Now the port90 proxy container is running as a system service, with podman and systemd.
Code Block systemctl status swarm-port90-console.service
How to Remove port90 container
To elimiate the port90 container, execute the following commands to remove it from Podman:
Code Block |
---|
systemctl stop swarm-port90-console.service
systemctl disable swarm-port90-console.service |
\uD83D\uDCCBRelated Articles
...