Replies: 8 comments 1 reply
-
hello, i think i also have this problem |
Beta Was this translation helpful? Give feedback.
-
Hi, this feature with custom command is exactly what I need. In current version there are /bin/bash /bin/sh and /bin/ash. For my implementation I need "/bin/bash -l" to create login session in order to load some configs. |
Beta Was this translation helpful? Give feedback.
-
I need to run a custom command "/usr/bin/qemu-arm-static /bin/bash" to open a console on an emulated rasbian pi. Unfortunately no-one remembers this. Would love to customize this custom command list. |
Beta Was this translation helpful? Give feedback.
-
I know this is not a documented feature but you can add a list of custom commands to the default command list of Portainer by associating one ore more |
Beta Was this translation helpful? Give feedback.
-
label I think was eventually implemented as |
Beta Was this translation helpful? Give feedback.
-
Majority of my containers have just a limited |
Beta Was this translation helpful? Give feedback.
-
A label to specify which console command will be the default would be amazing. |
Beta Was this translation helpful? Give feedback.
-
related to #5641 |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
All our Docker images have
entrypoint.sh
as the entrypoint and this configures the environment ready to use and opens an interactive shell (if no args given, otherwise args are executed).Every time I open a console for a container, I can choose from a list of pre-defined commands (
bash
,ash
,sh
) or click to enter a custom command, where I have to type or paste it in every time, or exec in withbash
then manually executeentrypoint.sh
.This feels like unnecessary repetition.
Describe the solution you'd like
The ability to add to the list of pre-defined commands I can select from in Portainer settings, and choose a default or re-order the list, would be a solid time saver.
Describe alternatives you've considered
Don't hide the custom command input field behind a button that toggles visibility, as this only makes it harder to get through.
Get rid of the list entirely and just have an input field, pre-filled with
/bin/bash
by default or whatever the last command I typed in there was, ready to re-exec next time.Beta Was this translation helpful? Give feedback.
All reactions