Smocker can be installed either with Docker or manually on any Linux system, depending on your needs.
# With Docker
docker run -d \ --restart=always \ -p 8080:8080 \ -p 8081:8081 \ --name smocker \ thiht/smocker
# Manual Deployment
The official binaries are currently built for Linux only. This is not a hard limit though, as the source code should be fully compatible with most of the standard platforms.
# This will be the deployment folder for the Smocker instance mkdir -p /opt/smocker && cd /opt/smocker wget -P /tmp https://github.com/Thiht/smocker/releases/latest/download/smocker.tar.gz tar xf /tmp/smocker.tar.gz rm /tmp/smocker.tar.gz nohup ./smocker -mock-server-listen-port=8080 -config-listen-port=8081 &
To check that Smocker started successfully, just run the following command: