When trying to stop or restart a docker container I\'m getting the following error message:
$ docker restart 5ba0a86f36ea Error response from daemon: Cannot rest
Worth knowing:
If you are running an ENTRYPOINT script ... the script will work with the shebang
#!/bin/bash -x
But will stop the container from stopping with
#!/bin/bash -xe