Skip to content

Instantly share code, notes, and snippets.

View ShuyangCao's full-sized avatar

Shuyang Cao ShuyangCao

View GitHub Profile
@zaemyung
zaemyung / Docker Cheat Sheet.md
Last active June 1, 2023 00:16
Docker Cheat Sheet: commonly used Docker commands

Docker Cheat Sheet

(Adopted from Docker Cheat Sheet)

Build

Build an image from the Dockerfile in the current directory and tag the image

docker build -f Dockerfile -t {your_name/repo_name:tag} .

For building zaemyung/ml_non_root image, modify the UNAME in the dockerfile accordingly, and build as: