Docker compose ความขัดแย้ง ตู้คอนเทนเนอชื่อ

รหัสตัวอย่าง

0
0

docker compose ความขัดแย้ง ตู้คอนเทนเนอชื่อ

Your case is probably related to a bug that will be fixed in the 18.03 release. Some workarounds are proposed here:

https://github.com/docker/for-linux/issues/211
https://github.com/moby/moby/issues/36145
docker-compose up builds, (re)creates, starts, and attaches to containers for a service.

Since your images are built and the containers of your service have started, you can then use

docker-compose stop and
docker-compose start
to start/stop your service. This is different from docker-compose down which:

Stops containers and removes containers, networks, volumes, and images created by up.

Regarding the danger of losing your data if a container is removed, read about persistent storage and how to use volumes.

หน้าคล้ายกัน

คล้ายกันหน้ากับตัวอย่าง

ในภาษาอื่นๆ

หน้านี้อยู่ในภาษาอื่นๆ

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................