We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After I up the containers and try to login into php shell using shell.sh, I get http: invalid Host header
http: invalid Host header
I have updated the docker containers with update-docker.sh.. Looked into logs but no issue. Have verified my /etc/hosts file.
I want to be able to get access to the container's shell.
The text was updated successfully, but these errors were encountered:
Yeah, i got this message when i try to run shell.sh
Sorry, something went wrong.
You can access to shell by typing in terminal: docker exec -it <container_number> /bin/bash
docker exec -it <container_number> /bin/bash
I tried that one too since shell.sh has the same command and I get the same error.
info moby/moby#46614 (comment)
you can fast fix it by editing daemon.json, replace unix:///var/run/docker.sock with localhost
start containers with
sudo docker -H localhost:2375
like
sudo docker -H localhost:2375 run -it debian
you can also delete hosts from daemon.json and start docker daemon with
sudo dockerd -H localhost:2375
2375 - standart docker port
Ok, I was able to fix the problem. Just had to uninstall docker, next install docker-desktop and thats all...
No branches or pull requests
Have you already checked elsewhere?
What are you struggling with?
After I up the containers and try to login into php shell using shell.sh, I get
http: invalid Host header
What have you tried already?
I have updated the docker containers with update-docker.sh.. Looked into logs but no issue. Have verified my /etc/hosts file.
What is your goal?
I want to be able to get access to the container's shell.
The text was updated successfully, but these errors were encountered: