Below is a quick cheat sheet for getting up and running with Portainer, generally I make use of Unraid for running my Docker containers however when it comes to running Z-Wave JS I needed to run it on another computer that had a free USB port :)
Starting the container
1 sudo docker run -d -p 8000:8000 -p 9443:9443 --force-create --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
Stopping the container
1 sudo docker container stop portainer
Removing the container
1 sudo docker container rm portainer
Comments powered by Disqus.