Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Latest commit

 

History

History
31 lines (21 loc) · 548 Bytes

docker.md

File metadata and controls

31 lines (21 loc) · 548 Bytes

Docker

Building docker image for amd64 from an Apple M1 macbook.

Build Docker Image

docker build --platform linux/amd64 -t ${username}/${imageName}:${tagName} .

Push Docker Image to Dockerhub

docker push ${username}/${imageName}:${tagName}

docker push

bacnkendの場合

docker login -u ${username} -p ${password}
docker build --tag=yoshi429/draft-backend:v-0.0.1 .
docker push yoshi429/draft-backend:v-0.0.1