Giter Club home page Giter Club logo

Comments (3)

wrfly avatar wrfly commented on May 30, 2024 1

if we start a docker container with a cmd to run some app, apache nginx or whatever when you do docker exec -it container1 bash you'll see the running appoutput (output of nginx or apache)

I don't think so... when you exec into the container with bash command, you'll have a stdin and stdout of bash, instead of the nginx, so what you'll see is only a bash shell. If you want to see the output of nginx or apache, you should use docker logs xxx.

so what output will container-web-tty display?

As for this question, container-web-tty will give you a web tty, so it act the same as a bash shell (or ash, sh).

from container-web-tty.

theraw avatar theraw commented on May 30, 2024

closing this as i tried by myself.

For those who wanna know this pr is not the same as docker exec -it it attaches different tty on request doesn't attach the current running with cmd params

from container-web-tty.

theraw avatar theraw commented on May 30, 2024

yes. that was my mistake of explanation 😕

which is weird i've misundersood it for some other thing or i don't remember what happend

from container-web-tty.

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.