I'm trying to run an image of docker to be awake all the time with just one flag.
I'm trying without the tipical bash
at the end or
while true; do sleep 1000; done
in the ENTRYPOINT
file because these solutions are using resources all the time.
For example, I don't want a command like this one:
docker run --rm -d --name dockerName dockerImage bash
I'm looking for something like:
docker run --rm --flagDockerAlwaysUp -d --name dockerName dockerImage