mirror of
https://github.com/bingohuang/docker-labs.git
synced 2025-07-14 18:27:25 +08:00
Add a name to the container
This commit is contained in:
parent
60395a269a
commit
c2ec79584f
@ -1,6 +1,8 @@
|
|||||||
version: '2'
|
version: '2'
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
|
# pwd daemon container always needs to be named this way
|
||||||
|
container_name: pwd
|
||||||
# use the latest golang image
|
# use the latest golang image
|
||||||
image: golang
|
image: golang
|
||||||
# go to the right place and starts the app
|
# go to the right place and starts the app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user