...
Code Block |
---|
docker run -i -t -p 42222:22 -p 3306:3306 -p 389:389 -p 61616:61616 -p 8161:8161 -p 8080:8080 -p 8282:8282 openeai/openeai-examples:2015a /bin/bash |
On Windows you may encounter the following error when attempting to run the container from the Windows MING64 shell:
Code Block | ||
---|---|---|
| ||
Stephen@arch2 MINGW64 ~
$ docker run -i -t -p 42222:22 -p 3306:3306 -p 389:389 -p 61616:61616 -p 8161:8161 -p 8080:8080 -p 8282:8282 openeai/openeai-examples:2015a /bin/bash
cannot enable tty mode on non tty input |
In this case, you can ssh to the Docker VM on your host and execute the pull and/or run commands there. For example:
Code Block |
---|
Stephen@arch2 MINGW64 ~
$ docker-machine ssh default
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
_ _ ____ _ _
| |__ ___ ___ | |_|___ \ __| | ___ ___| | _____ _ __
| '_ \ / _ \ / _ \| __| __) / _` |/ _ \ / __| |/ / _ \ '__|
| |_) | (_) | (_) | |_ / __/ (_| | (_) | (__| < __/ |
|_.__/ \___/ \___/ \__|_____\__,_|\___/ \___|_|\_\___|_|
Boot2Docker version 1.8.2, build master : aba6192 - Thu Sep 10 20:58:17 UTC 2015
Docker version 1.8.2, build 0a8c2e3
docker@default:~$ docker run -i -t -p 42222:22 -p 3306:3306 -p 389:389 -p 61616:61616 -p 8161:8161 -p 8080:8080 -p 8282:
8282 openeai/openeai-examples:2015a /bin/bash |
What next?
Once you start the OpenEAI Examples Docker container, all of the services required to access the OpenEAI Examples should be running. Remember the following:
...