20. Containers Part 2#

Docker build and deploy process

20.1. Developing in a container#

20.1.1. Manually#

  1. Mount the container as a volume with -v

  2. Prototype

  3. Iterate on the Dockerfile

Manual docker prototype

20.1.2. VS Code Remote#

Developing inside a container

20.2. Mini lab#

  1. See the mypub-ip demo

  2. Bring the TF speedup on GPU vs CPU script into a L4T tensorflow container

  3. Build the image

  4. Run the image

  5. Optionally*, push the image

20.2.1. Helpful commands#

  • WORKDIR for setting working directory

  • ADD for bringing in the file