-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker run argument --name not working #61
Comments
Your setup failed because x11docker checks for successfull startup using the container name and believes that the startup failed. One possibility is to use option
An option Would |
The Docker container id will work too. The problem is, that the container ID will change on every startup so I have to update my debug config every time. I can live with the drawbacks of using a custom container name. It's only a special use case but I think it can be useful for others too. Time for a new PR? ;-) |
yeah :-) To reduce the issue with |
--name: Add support for own Docker container name (close #61)
It would be great if I can set the name of the Docker container. If I try
x11docker -- --name=cathode jess/cathode
it fails withError response from daemon: no such image: x11docker_X100_3c3ea8_jess-cathode: invalid reference format: repository name must be lowercase
. I'm not sure if it is because of the duplicate--name
argument in the docker run command.Adding an optional x11docker argument
--name
would be useful to set an own Docker container name to identify this container in a network via the name. I need this for debugging. I have an IDE Docker Container and a Docker Compose network. I join the IDE Docker Container to the Docker Compose network but I have to set the debug host IP/Name (the IDE Docker Container in this case) manually.What do you think or are there any problems with setting a custom container name?
The text was updated successfully, but these errors were encountered: