diff --git a/Gemfile.lock b/Gemfile.lock index 527a91fe..18067c27 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -96,8 +96,8 @@ GEM coffee-script-source execjs coffee-script-source (1.10.0) - concurrent-ruby (1.0.0) - concurrent-ruby (1.0.0-java) + concurrent-ruby (1.0.2) + concurrent-ruby (1.0.2-java) concurrent-ruby-ext (1.0.0) concurrent-ruby (~> 1.0.0) d3-rails (3.5.11) diff --git a/codeocean-dockerconfig.md b/codeocean-dockerconfig.md new file mode 100644 index 00000000..84331a8a --- /dev/null +++ b/codeocean-dockerconfig.md @@ -0,0 +1,11 @@ +In order to make containers accessible for codeocean, they need to be reachable via tcp. +For this, the docker daemon has to be started with the following options: + +DOCKER_OPTS='-H tcp://127.0.0.1:4243 -H unix:///var/run/docker.sock --iptables=false' + +This binds the daemon to the specified socket (for access via the command line on the machine) as well as the specified tcp url. +Either pass these options to the starting call, or specify them in the docker config file. + +In Ubuntu, this file is located under: /ect/default/docker + +In Debian, please refer to the RHEL and CentOS part under that link: https://docs.docker.com/engine/admin/#/configuring-docker-1