docker-machine create --driver virtualbox atlassian <1>
docker-machine start atlassian <2>
eval `docker-machine env atlassian` <3>
- Create a docker machine (once only)
- Start the docker machine
- Setup the docker client to use the docker-machine
docker-compose build
Create a .m2
cache volume for Maven
docker volume create --name=dot_m2
docker run -ti --rm --workdir /project -v dot_m2:/root/.m2 -v $PWD:/project softwarecraftsmen/atlassian-plugin-sdk bash -c "atlas-mvn -version"
The file .alias
shows how to define an alias to run atlas-mvn within a container.