Replies: 4 comments
-
Duplicate of #597 Please follow the discussion in the associated issue. Note that there is no decision on this feature yet. |
Beta Was this translation helpful? Give feedback.
-
This is not exactly a duplicate of #597. I was talking about a field to launch a full command. Not only options for the container creation. #597 is just about optional flags. |
Beta Was this translation helpful? Give feedback.
-
Sorry, thought it was only related to container creation. Indeed, I'm going to re-open this but as discussed in #597 we're using the Docker API to execute Docker requests and implementing this only for container options is a bit challenging already. Will consider this issue for now and see if we want to integrate this feature. |
Beta Was this translation helpful? Give feedback.
-
Thinking out loud... We will need a global prompt or command pallet that can be placed on the Dashboard (or can be invoked by using a keyboard shortcut, for example, Atom and some other code editors as well as Chrome Developer Console have it mapped to |
Beta Was this translation helpful? Give feedback.
-
It would be great to be able to launch docker cli commands via portainer.
On dockerhub for many containers there is a cli command already provided in the documentaiton. For example "docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag". I just want to copy the string, paste it into a portainer field and launch the command. This becomes especially usefull when there are many environment variables and options to set.
Previously I did a workaround. Since I don't have access to the command line on my device, I just created a docker in docker container and bind the container socket to the host socket. This way I was able to use the full functionality of docker via the container console. But now on my host the bind option is blocked and I can't bind my socket anymore.
Now I can't use commands like "docker load", "docker update" etc. anymore.
Is it possible to add such a field that just runs a docker cli command?
Beta Was this translation helpful? Give feedback.
All reactions