How to add bash history and autocompletion to docker

The Docker compose file in Pimcore skeleton package works well, but there are two things I’m missing in console:

  • bash history is not working
  • autocompletion ist not available

Is there a way to add this in the Docker container?


bash history in a container isn’t a thing per se, you would have to share the .bash_history file with the host, which you usually don’t do.

Autocompletion for what is not available? Symfony CLI?

Thanks - I’ll give it a try. Autocompletion in Docker container CLI ist no available in my containers.