This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
services.<container>.restart must be a string on docker-compose V2 #1971
Labels
discussion 💬
Discussing usage, best practices, questions, etc.
Description
We have the following
restart
option in a service:It works with
docker-compose up
V1, but in V2 it receives an error:services.db.restart must be a string
Steps to reproduce the issue:
restart
docker compose up
Describe the results you received:
services.db.restart must be a string
Describe the results you expected:
The option should continue to work in docker-compose v2.
Additional information you deem important (e.g. issue happens only occasionally):
**Output of
docker-compose --version
: ***Output of
docker version
:Output of
docker context show
:You can also run
docker context inspect context-name
to give us more details but don't forget to remove sensitive content.Output of
docker info
:Additional environment details (AWS ECS, Azure ACI, local, etc.):
The text was updated successfully, but these errors were encountered: