Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Improve entrypoint/cmd #19653

Open
darkdragon-001 opened this issue Mar 2, 2023 · 0 comments
Open

Improve entrypoint/cmd #19653

darkdragon-001 opened this issue Mar 2, 2023 · 0 comments

Comments

@darkdragon-001
Copy link

When running the image without a CMD, I get:

% docker run -it --rm gcr.io/cloud-marketplace/google/ubuntu2004
/bin/sh: 0: -c requires an argument

So setting CMD to /bin/bash should work. Or use an entrypoint.sh script like

exec "$@"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant