Public | Automated Build

Last pushed: 2 years ago
Short Description
This is a docker container based on CentOS 7 for Play Framework development.
Full Description


You should run this container interactively and launch activator console commands from within your play projects directories.


  • Open JDK 1.8.0
  • Typesafe Activator 1.3.7
  • Git, make, wget, curl, zip/unzip


Exports a volume on /root/Code.
You can mount the volume on run to a local directory containing your code.

ivy2 and sbt caches

Java user.home variable is defined, pointing to /root/Code.
In this way, all dependencies are kept if you mount the /home/play/Code volume on /root/Code/.ivy2 and /root/Code/.sbt directories.


Three ports are exposed:

  • 9000: default Play port.
  • 9999: default Play debug port.
  • 8888: default Activator UI port.
    Remember to map the ports to the docker host on run.

How to run the container

You need docker v1.3+ installed. To get the container up and running and drop to an interactive shell, run:

$ docker run -i -t -v "/home/foamliu/Code:/root/Code" -p 80:9000 -p 9999:9999 \
-p 8888:8888 foamliu/play-framework

Remember to change /home/foamliu/Code to the directory where your code is stored.

Docker Pull Command
Source Repository