software

commands

  • Run portainer(Docker management tool)
    • docker run -d -p 9000:9000 --restart=always --name portainer -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer
    • Open browser and enter 0.0.0.0:9000
  • Run docker container
    • docker run -it osrf/ros:melodic-desktop-full
  • List all container
    • docker container ls -a
  • Start and login to a container
    • docker start -ai <container-name/ID>
  • Add USB to container
    • --device=/dev/ttySCOUT
  • Clean build cache
    • docker builder prune
  • Build docker image
    • docker build --no-cache -t <the folder name of which Dockerfile locate> .

Reference