This repository contains Dockerfile for D1 team java workspace.
More details on Docker's automated build page.
Published to the public Docker Hub Registry.
-
Install Docker.
-
Download automated build from public Docker Hub Registry:
docker pull deeone/java-workspace
(alternatively, you can build an image from Dockerfile:
docker build -t="deeone/java-workspace" github.com/d1-oss/docker-docker-java-workspace
)
docker run \
-u 1000 \
-it \
-p 8080:8080 \
--volume $SSH_AUTH_SOCK:/ssh-agent --env SSH_AUTH_SOCK=/ssh-agent \
--volume /home/fabio/Development:/workspace \
--volume /home/fabio/.m2:/home/deeone/.m2 \
--hostname work \
--name deeone \
deeone/java-workspace
- Missing apparmor
Run the command below:
sudo docker -d
If an error similar to the one below is displayed:
Error loading docker apparmor profile: fork/exec /sbin/apparmor_parser: no such file or directory ()
Then install apparmor:
sudo apt-get install apparmor