Follow this step-by-step guide to set up a Nuclio development environment that uses Docker.
Before starting the set-up procedure, ensure that the following prerequisites are met:
-
Your environment has a running Docker daemon. To ensure that your Docker daemon is running properly, run the following command with the same user that will be used to execute Nuclio CLI commands:
docker version
-
The Nuclio CLI (
nuctl
) is installed — if you wish to use the CLI to deploy Nuclio functions. To install the CLI, simply download the appropriate CLI version to your installation machine.
Execute the following command from a command-line shell to run Nuclio on Docker.
Note: The
stable
tag refers to the latest version released from themaster
branch of the Nuclio repository (unlike versioned branches, such as1.3.x
).
docker run \
--rm \
--detach \
--publish 8070:8070 \
--volume /var/run/docker.sock:/var/run/docker.sock \
--name nuclio-dashboard \
quay.io/nuclio/dashboard:stable-amd64
See the following resources to make the best of your new Nuclio environment: