Comments (11)
@ryoryotaro
I added a logger to docui.
Please update docui and paste ~/docui.log
on this issue after attach the container.
from docui.
Thank you for your update.
Docui.log when I attach the container is as follows.
time="2019-01-23T04:09:53Z" level=info msg="attach container start" func="github.com/skanehira/docui/panel.(*ContainerList).Attach" file="/Users/skanehira/dev/go/src/github.com/skanehira/docui/panel/containerPanel.go:590"
time="2019-01-23T04:09:53Z" level=error msg="exec: \"docker\": executable file not found in $PATH" func="github.com/skanehira/docui/panel.(*ContainerList).Attach" file="/Users/skanehira/dev/go/src/github.com/skanehira/docui/panel/containerPanel.go:606"
time="2019-01-23T04:09:53Z" level=info msg="attach container finished" func="github.com/skanehira/docui/panel.(*ContainerList).Attach" file="/Users/skanehira/dev/go/src/github.com/skanehira/docui/panel/containerPanel.go:609"
time="2019-01-23T04:09:53Z" level=info msg="docui start" func=main.main file="/Users/skanehira/dev/go/src/github.com/skanehira/docui/main.go:14"
from docui.
@ryoryotaro
There have the following error.
time="2019-01-23T04:09:53Z" level=error msg="exec: \"docker\": executable file not found in $PATH" func="github.com/skanehira/docui/panel.(*ContainerList).Attach" file="/Users/skanehira/dev/go/src/github.com/skanehira/docui/panel/containerPanel.go:606"
It seems that PATH
does not include docker
.
I think that you can execute it by including the docker
in PATH.
from docui.
Which PATH docui container or host machine ?
In docui container,docker is not installed.
In host machine, docker is installed and PATH
is /usr/bin/docker
.
from docui.
@ryoryotaro
When attach to container docui call docker attach
internally.
Therefore, in the environment running docui, you need the docker command.
I plan to improve so that we don't need Docker int the future.
from docui.
OK, Thanks .
So this is proposal that to implement shell login function
instead of attach. Because as far as I know, docker attach
is not so match used and I use docker exec -it <container id> /bin/sh
for login container.
from docui.
@ryoryotaro
I'll support docker exec -it <containerid> bin/sh
for login container.
Please wait a moment.
from docui.
I'm looking forward to your support.
Thank a lot.
from docui.
@ryoryotaro
I supported use docker exec
to attach container in this issue.
#52
Please update docui and use it.
Let me know if that works for you.
If there is no problem, I'll close this issue.
from docui.
Thanks a lot.
I updated docui and confirmed docker exec
worked fine !
But,it's better change the name at the top of the popup and "Attach" button name.
from docui.
@ryoryotaro
Thanks.
I fixed that in this commit.
#55
from docui.
Related Issues (20)
- Ability to install or pull default docker images HOT 5
- Problem about Super User Permission.
- It won't start HOT 3
- nil deref panic on ctrl-L with no containers running HOT 4
- error on go get on raspi HOT 8
- Doesn't correctly work in Ubuntu18.04 HOT 8
- Cannot work using Nixpkgs in docker container HOT 2
- After attaching to the container, one keystroke will be lost
- Cannot build docker image HOT 1
- search result panel panic
- loadimage : do not check input file correct or not
- docui changes the terminal background color to black
- runtime errors HOT 1
- Install Fatal Error HOT 2
- test HOT 1
- bug: execution with ctrl-e only works once HOT 1
- cannot be installed with golang 1.11.6 HOT 2
- [Feature Request] Ubuntu support
- How can I do `docker rmi -f`?
- Dockerfile for use with raspberry 64bit
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 docui.