Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while starting the continer #1

Open
amitnkrocks opened this issue Apr 4, 2021 · 1 comment
Open

error while starting the continer #1

amitnkrocks opened this issue Apr 4, 2021 · 1 comment

Comments

@amitnkrocks
Copy link

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
Copy link

use docker-compose up --build initially

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants