Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.72 KB

getting-started-docker.md

File metadata and controls

46 lines (34 loc) · 1.72 KB

Getting Started with Nuclio on Docker

Follow this step-by-step guide to set up a Nuclio development environment that uses Docker.

In this document

Prerequisites

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.

Run Nuclio

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 the master branch of the Nuclio repository (unlike versioned branches, such as 1.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

What's next?

See the following resources to make the best of your new Nuclio environment: