I was trying to install odoo:
docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name db postgres:10
At first, I got the following error:
docker: Error response from daemon: Conflict. The container name "/odoo" is already in use by container "57b42767f67725ecb95eb71c0381824caa18b24d45239c5c19bd88ce89663343".
You have to remove (or rename) that container to be able to reuse that name.
when I try to remove and replace it I get these errors:
docker: Error response from daemon: Cannot link to a non running container: /db AS /odoo/db.
ERRO[0002] error waiting for the container: context canceled
Does anyone know how to fix it?