Comments (3)
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.
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.
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)
- feat: update container list triggered by events
- [bug] didn't reconnect the docker socket HOT 3
- Connection close HOT 5
- Disable terminals HOT 8
- "mesg: ttyname failed: No such device"
- behind proxy configuration HOT 5
- Support podman HOT 2
- Something wrong with using iframes HOT 5
- how to enable Access list to web-tty HOT 3
- how to build Docker image after making changes into the source code HOT 3
- grpc backend not automatically syncing the newly added container in all grpc servers HOT 2
- k3s下可读取到容器列表,但连接TTY会失败 HOT 5
- k3s下查看容器日志,换行格式混乱 HOT 9
- URL Base HOT 6
- container-web-tty 终端异常中断 HOT 1
- Dockerfile no longer building HOT 1
- Upgrade dependency "github.com/gin-gonic/gin" HOT 1
- docker cli watch events error HOT 3
- Lost connection to docker socket HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from container-web-tty.