🖍️
MagicMirror
  • Introduction
  • INSTALLATION
    • Docker Container
    • Ubuntu
    • Windows
  • RUNNING MAGICMIRROR
    • Command and Options
    • single-file-mode
    • batch-mode
    • More Docker Tricks
  • FAQ
  • Contact Us
Powered by GitBook
On this page
  • Pulling Docker image
  • Starting Container
  • Running MagicMirror

Was this helpful?

  1. INSTALLATION

Docker Container

PreviousIntroductionNextUbuntu

Last updated 4 years ago

Was this helpful?

Instructions to download and install Docker can be found .

Pulling Docker image

docker pull magicmirrorfuzzing/magic_mirror

Starting Container

docker run -it -w /home magicmirrorfuzzing/magic_mirror

-it option starts the docker container in an interactive process (like a shell). -w specifies the working directory when the container is first launched. /home is where the MagicMirror executable and a folder /home/sample_contracts of 15 sample contracts for users to play with.

*Note, the container can also be started with a folder mounted to your local system with the -v option, so you can load your own contracts and save the outputs from outside of the container, which we will discuss more in detail .

*Note, you can also combine the work of starting the container with a mounted folder and executing your contract into a one-line command, which we will discuss more in detail . By executing only one command, you get your outputs right away in your designated output folder.

Running MagicMirror

MagicMirror has two modes, single-file-mode and batch-mode, which corresponds to executing a single contract, or a batch of contracts. You can find the quick start and more details for running MagicMirror in these modes in and .

here
here
here
single-file-mode
batch-mode