I don't know if this is useful for many of the people, but talking about the issue https://github.com/kitematic/kitematic/issues/1209 I noticed that if the image is not created properly (in a philosophical way) you cannot start o customize the container. For example, when you execute a docker run, you have the option to override the command specified in the CMD, something like that:
docker run -ti XXXXXX /bin/bash
But that's not posible when you are working with Kitematic. I'm pretty sure the change is quite easy, but I don't know if the dev team thinks that useful or not.
Thanks
It would be good to have :+1: - as a simple add-on, you could add it to the container that is running, but adding it before image creation may be a bit more challenging.
I started the dev, you could take a look here: https://github.com/alexandrev/kitematic/tree/issue-1211. I'm facing a problem when the CMD script it is too long. I think the problem could be inside the dockerode library, but until I figure it out I cannot initiate any kind of PR.
I was just about to post a question about a similar thing. Sometimes we just run containers for a specific task, and it would save some time not having to always launch the container, then go into the terminal and run the required command. For example, I have a container I use for running an iPython notebook, and every time I run that container through Kitematic I have to go in and run ./run_jupyter.sh manually.
@w1res I already submit a PR about that feature. So if you want to help me out trying it out and identifying any kind of bug or improvement I could make, I'd really appreciate it: https://github.com/kitematic/kitematic/pull/1223
Whenever I try to run an Alpine Linux container it says:
System error: exec: "bash": executable file not found in $PATH
because Alpine does not have bash, only sh. Currently there is no way to configure for this right?
You should create a image (create a new Dockerfile file) based on the one you are actually pulling from the networking and installing inside bash or everything you need. And then, you should launch this new image.
+1
This would be helpful to define volumes or mounts
Most helpful comment
+1
This would be helpful to define volumes or mounts