Skip to content

Latest commit

 

History

History
executable file
·
16 lines (12 loc) · 271 Bytes

File metadata and controls

executable file
·
16 lines (12 loc) · 271 Bytes

Docker最初のサンプル

実行コマンド

docker build -t mypython:0.1 .
docker run -it --rm -v ${PWD}:/mnt mypython:0.1 python hello.py

もしくは

docker compose up -d
docker compose exec mypython python hello.py
docker compose down