How can I keep a docker debian container open?

You need to explicitly run bash:

docker run -it debian /bin/bash

The -i means “run interactively”, and -t means “allocate a pseudo-tty”.

A good place to read a bit more is the section Running an interactive shell in the Quickstart documentation.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)