Closed Mio3000 closed 2 years ago
Looks like you might need 2 $ signs: https://docs.docker.com/compose/environment-variables/#the-env-file
You wouldn't normally need to set a PS1 variable for a docker container since most of the time you won't be using the cli inside the container, so you could also just delete that line.
when im trying to start container from exported yml file, im receiving following error message:
root@openmediavault:~/smokeping# docker-compose up -d ERROR: Invalid interpolation format for "environment" option in service "smokeping": "PS1=$(whoami)@$(hostname):$(pwd)\$ "
the environment looks like this: version: "3" services: smokeping: container_name: smokeping entrypoint: