dosvath / kerberos-containers

Containers for the Kerberos with SSH tutorial.
https://cnfl.io/containerized-testing-with-kerberos-and-ssh-blog
16 stars 23 forks source link

error while starting the continer #1

Open amitnkrocks opened 3 years ago

amitnkrocks commented 3 years ago

Hi , i;m getting learning KDC and following the steps from the link https://www.confluent.io/blog/containerized-testing-with-kerberos-and-ssh/ getting below error

WARNING: Image for service ssh-client was built because it did not already exist. To rebuild this image you must use docker-compose build or docker-compose up --build. Creating ssh-container_ssh-server_1 ... Creating ssh-container_ssh-server_1 ... error WARNING: Host is already in use by another container

ERROR: for ssh-container_ssh-server_1 Cannot start service ssh-server: driver failed programming external connectivity on endpoint ssh-container_ssh-serverCreating ssh-container_ssh-client_1 ... done

ERROR: for ssh-server Cannot start service ssh-server: driver failed programming external connectivity on endpoint ssh-container_ssh-server_1 (47f168bceef310f45d41f5e686ba297c32bfbd814d3da52a6b703c2c05a5de77): Bind for 0.0.0.0:2222 failed: port is already allocated ERROR: Encountered errors while bringing up the project.

erberos-containers/kdc-ssh-server# docker-compose up -d Recreating kdc-ssh-server_kdc-ssh-server_1 ... Recreating kdc-ssh-server_kdc-ssh-server_1 ... error

ERROR: for kdc-ssh-server_kdc-ssh-server_1 Cannot start service kdc-ssh-server: driver failed programming external connectivity on endpoint kdc-ssh-server_kdc-ssh-server_1 (69c76baa1cae192eb21606588aad5c8d97abf9242ae3883236f52c31a6f1a55f): Bind for 0.0.0.0:88 failed: port is already allocated

ERROR: for kdc-ssh-server Cannot start service kdc-ssh-server: driver failed programming external connectivity on endpoint kdc-ssh-server_kdc-ssh-server_1 (69c76baa1cae192eb21606588aad5c8d97abf9242ae3883236f52c31a6f1a55f): Bind for 0.0.0.0:88 failed: port is already allocated ERROR: Encountered errors while bringing up the project.

drifter75 commented 2 years ago

use docker-compose up --build initially