[Feature] Add "command" option to container
| Netbox version | Plugin Version | Agent version | Docker API Version |
|---|---|---|---|
Feature request
It will be nice to be able to override the "command" of the container in the GUI/API.
@vamitrou thanks for your issue. Changing the command might be for running a container as a job as per https://github.com/SaaShup/netbox-docker-plugin/issues/176 Is that to achieve the same goal ?
My use case would be different. We currently deploy a long-running container which we need to override the CMD. I have a workaround for now, but it would be nice to be able to override CMD/ENTRYPOINT directly from netbox.
I am not sure I understand the goal. Why would I change the CMD or ENTRYPOINT of a container ? I would tend to create a second docker file and create an image per CMD/ENTRYPOINT... Opinions a welcome.