Tagging DevContainer image #7093
Labels
containers
Issue in vscode-remote containers
feature-request
Request for new features or functionality
Milestone
Hello, I use devcontainer from docker-compose. I found that the devcontainer doesn't use the image name and tag specified in the docker-compose file. Instead, it generates a too long random name. So, I would like to request to have control of that name.
My docker-compose:
version: '3.3' services: development: build: context: . dockerfile: Dockerfile image: imageName:tag container_name: 'myContainer'
My devcontainer:
{ "name": "someName", "dockerComposeFile": ["docker-compose.yml"], // The name of the following service has to match one of the services in docker-compose.yml "service": "myService", "extensions": [.....], "workspaceFolder": ".....", "shutdownAction": "stopCompose" }
The text was updated successfully, but these errors were encountered: