Giter Site home page Giter Site logo

Comments (4)

wglambert avatar wglambert commented on May 30, 2024

This is our documentation on the image, I'm not sure what you're wanting to do but you should ask the Docker Community Forums, the Docker Community Slack, or Stack Overflow. As these repositories are for issues with the image and not necessarily for questions of usability

from haproxy.

srivtgit avatar srivtgit commented on May 30, 2024

Thank you very much for getting back to me. I am trying to connect to the container using bash or sh and its not working. Container is running fine and I can also see its logs through docker logs etc.. I also reached to the docker forums and they told me that i might be running into bug . I might be running into a bug when i am trying to connect o the container using bash and also checked the google forums

#sudo docker exec -it d28bf4a370dc sh
rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "process_linux.go:110: decoding init error from pipe caused "read parent: connection reset by peer""

#sudo docker exec -it d28bf4a370dc /bin/bash
rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "process_linux.go:110: decoding init error from pipe caused "read parent: connection reset by peer""

from haproxy.

srivtgit avatar srivtgit commented on May 30, 2024

what is the best way to connect to this haproxy container using bash. Is anything specific parameter need to be passed for entrypoint?. Or regular udo docker exec -it d28bf4a370dc sh or bash or /bin/bash is the right way to connect to the container to get a shell into container?

from haproxy.

wglambert avatar wglambert commented on May 30, 2024

Looks like you're running into a bug in the RPM package https://stackoverflow.com/a/53612348/9959005
https://bugzilla.redhat.com/show_bug.cgi?id=1655214

And there's no bash in the alpine images, you can simplify your exec'ing with a --name

docker run -dit --name alpine alpine:latest
docker exec -it alpine sh

from haproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.