How do I run a container group with Ubuntu?


The official Ubuntu Docker image does not include ENTRYPOINT or CMD instructions in its Dockerfile. Consequently, if you run the Ubuntu image without specifying a command on SaladCloud, the container will exit immediately due to the lack of a default command to keep it running. This will result in the container continually reallocating.


To run the Ubuntu image on SaladCloud, navigate to the container group that runs the image and click the "Edit" button. Locate the "Command" section and open it. Here, you can override the ENTRYPOINT and CMD in your container image with the following:

Restart the container group. Once the instances are running, you can select an instance and log in using the interactive shell. From there, you can install dependencies and test your code.

Still need help? Contact Us Contact Us