Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I use an image that doesn't have /bin/sh?

I would like to use argoproj/argocli as my docker image for a step.  This image doesn't have /bin/sh, as its only purpose is to run /usr/bin/argo.  Is it possible to just run the image, like docker does if you don't specify an entrypoint?

An example command line is:

docker run -t --rm argoproj/argocli submit --watch


I tried this:

# This is a sample build configuration for Other.
# Check our guides at for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: argoproj/argocli

- step:
- echo "Everything is awesome!"

 But I got:

failed to create containerd task: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"/bin/sh\": stat /bin/sh: no such file or directory": unknown

Removing the script didn't work either.

1 answer

Any update here? I have no luck to find how to do it in pipelines.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,440 views 4 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you