Wrong sleep configuration when adding configuration files for alpine container #1394
Labels
bug
Issue identified by VS Code Team member as probable bug
containers
Issue in vscode-remote containers
For example we have docker-compose.yml file with alpine based web container.
When we use
Remote-Containers: Add Development Container Configuration Files
from docker-compose and choose web container we have created.devcontainer/docker-compose.yml
with following content incommand
key:# Overrides default command so things don't shut down after the process ends. command: sleep infinity
But Alpine doesn't support
infinity
arg for sleep command and therefore our container failed to run with exit code 1.Instead of this following content must be in
command
for same behavior asinfinity
:# Overrides default command so things don't shut down after the process ends. command: sleep 3600
Steps to Reproduce:
Remote-Containers: Add Development Container Configuration Files
and choose from docker-compose.ymlThe text was updated successfully, but these errors were encountered: