docker build

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2019 Dec 22 8:17
Editor
Edited
Edited
2022 Mar 14 18:13
Refs
Refs
build options
 
docker build user
docker build node image

upload tag

# Docker Build # github docker build -t ghcr.io/seongland/pointland:{{VERSION}} . docker push ghcr.io/seongland/pointland:{{VERSION}} # gcp docker build -t gcr.io/tokyo-guild-301215/pointland:{{VERSION}} . docker push gcr.io/tokyo-guild-301215/pointland:{{VERSION}} # gcloud gcloud builds submit --tag asia.gcr.io/tokyo-guild-301215/pointland:{{VERSION}}
 
 

no cache - log output

docker build --no-cache --progress=plain -t my-image .
 
 
How to view logs for a docker image?
Easiest method is to use tee to send a copy of all your command output to a logfile.
How to view logs for a docker image?
 
 

Recommendations