Docker

CLI

Run

docker run <image_name>

supports the following arguments:

  • -it interactive
  • -d or --detached runs the container in the background.
  • --rm
  • --network
  • -h <>
  • -U <>

docker run -it –rm –network some-network postgres psql -h some-postgres -U postgres

Stop

PS

Built with Hugo. Theme Stack designed by Jimmy