Short Description
An image to run the MaaS web interface in local development
Full Description
Usage
You can run the Maas web interface statically (not for development) as follows:
docker run --detach --name=maas --publish 5240:5240 ubuntudesign/maas
You may have to wait a couple of minutes for the container to start fully.
For local development
Make sure you have the Maas repository checked out:
bzr branch lp:maas maas # Get the repository
cd maas # Enter the directory
Run the container, but link /maas
to your checked-out repository:
docker run --detach --name=maas --volume `pwd`:/maas --publish 5240:5240 ubuntudesign/maas
You may have to wait a couple of minutes for the container to start fully.
Now visit http://localhost:5240 to view the site.
NB: If you're on MacOS or Windows use http://{your-docker-vm-ip-address}:5240
instead.
Test credentials
You can login to the web interface with one of:
usernames: "admin" or "test"
password: test
Stopping and resuming
docker stop maas # stop the container
docker start maas # resume the container
Refreshing the container
If you want to re-run the docker container from scratch, you need to remove the old one first:
docker rm -f maas
docker run ...
Debugging
To see the full output from the container, you can attach to it:
docker attach --sig-proxy=false maas
References
- Github repository for creating this image
- The Dockerfile
Docker Pull Command
Owner
ubuntudesign