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

Docker snowblossom/client command line options #224

Open
fireduck64 opened this issue Jun 1, 2022 · 2 comments
Open

Docker snowblossom/client command line options #224

fireduck64 opened this issue Jun 1, 2022 · 2 comments
Assignees

Comments

@fireduck64
Copy link
Member

A caller should be able to set additional command line options on snowblossom client.

Example:
docker run -it --rm --network host snowblossom/client help
This should show the command line help options.

As a work around, this works:
docker run -it --rm --network host snowblossom/snowblossom client help

@ZacharyACoon
Copy link
Contributor

Ah, so I think the correct way to probably handle this is to use dockerfile's ENTRYPOINT directive.

So when they run the dockerfile it'll by default always use the entrypoint like:

$ENTRYPOINT $CMD

and people can use whatever CMD they want. sound good?

@fireduck64
Copy link
Member Author

That sounds fine. I tried that and couldn't get it to work, which is why I punted it to you. ;)
But I was probably doing something else wrong. I don't know.

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

No branches or pull requests

2 participants