코딩도 개발... 축구도 개발... 하...

2021년 4월 26일 월요일

docker port 사용 오류

 $ docker-compose up -d
Creating network "******_default" with the default driver
Creating ******_1 ...
Creating ******_1 ... error

ERROR: for ******_1  Cannot start service scylladb: Ports are not available: listen tcp 0.0.0.0:9042: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

ERROR: for scylladb  Cannot start service scylladb: Ports are not available: listen tcp 0.0.0.0:9042: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
Encountered errors while bringing up the project.
Docker Compose is now in the Docker CLI, try `docker compose up`

cmd 명령프롬프트 창 관리자 권한으로 실행
net stop winnat
  
도커 명령어 실행
 net start winnat
 
$ docker-compose up -d
Creating network "********************************_default" with the default driver
Creating **********************_1 ...
Creating **********************_1 ... done
Docker Compose is now in the Docker CLI, try `docker compose up`

 

댓글 없음:

댓글 쓰기