Skip to content

Instantly share code, notes, and snippets.

Avatar

Gunther Hoffmann Bootsektor

  • Germany, Saxony, Dresden
View GitHub Profile
View Docker and rpi TODO
----------------
MORE THAN ONE PORT:
docker run --detach -p 8055:80 -p 8455:443 someething/something:latest
-----------------
Run an image without saving the container after exit:
$ docker run -ti --rm image_name bash
------------------
Map file (USB, directory, etc...):
$ sudo docker run -it --rm --privileged -v <host_path>:<image_path> <IMAGE_NAME> bash
------------------