19. Containers Part 2#

Docker build and deploy process

19.1. Developing in a container#

Manually#

  1. Mount the container as a volume with -v

  2. Prototype

  3. Iterate on the Dockerfile

Manual docker prototype

VS Code Remote#

Developing inside a container

19.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

Helpful commands#

  • WORKDIR for setting working directory

  • ADD for bringing in the file