
Como posso iniciar o docker no Ubuntu 20.04, se ele reclamar que o endereço já está em uso? tentei
docker-compose up -d
Starting relaatiotietokannat_db_1 ...
Starting relaatiotietokannat_db_1 ... error
ERROR: for relaatiotietokannat_db_1 Cannot start service db: driver failed programming external connectivity on endpoint relaatiotietokannat_db_1 (02444b3d0c2841a4fe702cf2705fbd5a869e44e7f258ecfbcea764ead989fcb4): Error starting userland proxy: listen tcp 0.0.0.0:3306: bind: address already in use
ERROR: for db Cannot start service db: driver failed programming external connectivity on endpoint relaatiotietokannat_db_1 (02444b3d0c2841a4fe702cf2705fbd5a869e44e7f258ecfbcea764ead989fcb4): Error starting userland proxy: listen tcp 0.0.0.0:3306: bind: address already in use
ERROR: Encountered errors while bringing up the project.
Responder1
O erro diz que a porta 3306
já está sendo usada por outro processo. Você deve interromper esse processo e liberar a porta ou solicitar docker
que use outra porta. Você pode descobrir qual processo está usando a porta 3306
executandonetstat -lntep |grep 3306