[Fiware-developer-experience] [docker] Accessing Devguide container without SSH

Alberto Martín Casado alberto.martin at bitergia.com
Wed Dec 9 12:11:08 CET 2015


Hi!

As we discussed, there's another way to access to a interactive shell
inside a container without SSH.

As stands in Docker documentation
<http://docs.docker.com/engine/userguide/basics/#running-an-interactive-shell>,
there's a way to bring a shell using docker. As we are using docker
compose, the approach is a bit different than in the documentation (using
command exec instead of run, as the container is already running). It is as
simply as doing:

docker exec -i -t <container_name> /bin/bash

And the container's shell will appear.

Hope it helps, and sorry for not letting you know about the change.

Best,


Alberto Martín
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-developer-experience/attachments/20151209/2e49bf5b/attachment.html>


More information about the Fiware-developer-experience mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy