Skip to content
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

[Feature] Add "command" option to container #178

Open
vamitrou opened this issue Jan 3, 2025 · 3 comments
Open

[Feature] Add "command" option to container #178

vamitrou opened this issue Jan 3, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@vamitrou
Copy link

vamitrou commented Jan 3, 2025

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 vamitrou added the bug Something isn't working label Jan 3, 2025
@lvenier
Copy link
Collaborator

lvenier commented Jan 3, 2025

@vamitrou thanks for your issue. Changing the command might be for running a container as a job as per #176
Is that to achieve the same goal ?

@vamitrou
Copy link
Author

vamitrou commented Jan 3, 2025

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.

@fanshan fanshan added enhancement New feature or request and removed bug Something isn't working labels Jan 6, 2025
@lvenier
Copy link
Collaborator

lvenier commented Jan 7, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants