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