Panel | |
---|---|
On this page you will find instructions on how to get and use the Moonshot docker-compose demo, which lets you see and test all of the components of Moonshot. Contents
|
Numberedheadings |
---|
IntroductionThe docker-compose demo runs locally a small Moonshot infrastructure, including:
The names in brackets correspond to the names of the docker-compose services. The following figure depicts how these containers are connected and what protocols are used for each connection: Dashed lines represent RadSec connections established as a consequence of having used the Prepare the host systemThe only requirement to run this demo is having a Docker and docker-compose installation. Both are available for GNU/Linux, Windows and MacOS. See instructions on how to install it for your chosen platform (https://www.docker.com/). Get the demo filesGet the demo files from https://github.com/janetuk/moonshot_docker. Use the Start the servicesEnter into the demo folder you got via That will build the images, recreate the containers, and run them in the background. The expected output is something similar to: Performing Moonshot authenticationsOnce all the services are up, you can log into the Client container and start performing Moonshot authentications. Getting into the Client containerTo get an interactive bash session on the Client container, use the following command: That will give you a bash session as the root user. Providing access to host's display (only for Linux hosts)If your host is running an Xorg desktop session, you can allow docker containers to access the display and run graphical applications by executing the following command on your host. The, from within the Client container, set the appropriate value to the DISPLAY variable: If you do not do this, Moonshot will use the TEXT UI instead. Testing SSH
Testing HTTP
Checking the logsYou can check the log output of the different services by using the |