Comments (3)
Hi, I just tried the latest version and now I'm getting this:
$ ssh myuser@myhost
Error starting shell in new container: Cannot find your shell /bin/bash inside your container
Connection to myhost closed.
This is my /etc/dockersh
:
[dockersh]
imagename = ubuntu:trusty
shell = /bin/bash
mounthome
If I use your example with busybox and ash, it works. Do the images need something special configured? How isn't /bin/bash
found in ubuntu:trusty? It is there.
Thanks.
from dockersh.
Is your container already running? I.e. if you start a persistent container with busybox, and then change the config to ubuntu:trusty?
dockersh won't automatically recycle the container for you - you'll need to manually docker kill youruser_dockersh ; docker rm youruser_dockersh to get a new container with the new OS started
from dockersh.
Oh, maybe that's what happened. I just tried with no running containers and it worked. Thanks!
from dockersh.
Related Issues (19)
- Table formatting doesn't work on dockerhub
- How to open a login shell? HOT 1
- Incompatible with newer libcontainer HOT 5
- Build breaks: missing sys.UidMappings HOT 1
- Build breaks: no buildable Go source files in /gopath/src/github.com/Yelp/dockersh HOT 3
- Docker build fails with "cannot find package "github.com/docker/libcontainer/namespaces"" HOT 6
- Use user namespaces
- Not working with docker-engine for centos HOT 1
- include from code.google.com HOT 2
- cannot find package "github.com/docker/docker/pkg/units" HOT 4
- panic: Could not load container configuration HOT 1
- No passwd entry HOT 2
- Unable to build HOT 3
- scp / sftp HOT 5
- Is this repo still active? Build failed HOT 2
- Be able to interpolate the user's shell when used as a ForceCommand
- Find a better way to make ssh agent sockets work than to bind /tmp
- /init: permission denied HOT 1
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 dockersh.