Public Repository

Last pushed: 3 years ago
Short Description
The phoenix web framework for Elixir
Full Description

Pull the image:

docker pull edubkendo/phoenix

cd into the directory where you want to build your app locally & run docker in interactive mode:

$ docker run -t -i -p 4000:4000 -v $(pwd):/source edubkendo/phoenix:0.2.10
$ cd /opt/phoenix
$ mix phoenix.new hello /source/hello
$ cd /source/hello
$ mix do deps.get, compile
$ mix phoenix.start

In another terminal tab/window:

$ docker ps

Get the process name, in this case: focused_heisenburg

$ docker run --rm -v /usr/local/bin/docker:/docker -v /var/run/docker.sock:/docker.sock svendowideit/samba focused_heisenberg
$ boot2docker ip

Open a Finder window, at the top of the screen select the Go menu, then Connect to server. Enter cifs://192.168.59.104/, but use the ip address boot2docker ip returned. Now you can work with those files locally.

You can view your app running by opening to the ip boot2docker ip returns at port 4000, eg http://192.168.59.104:4000.

Docker Pull Command
Owner
edubkendo