Skip to main content

How to - Run spawnctl using docker

To pull and run the spawnctl container image, spawnctl

docker run --rm redgatefoundry/spawnctl

Standard interactive authentication using spawnctl auth will not work for docker containers

Use one of the following methods to access spawn using access token:

  • Using SPAWNCTL_ACCESS_TOKEN environment variable
docker run --rm -e SPAWNCTL_ACCESS_TOKEN:<access-token-string> redgatefoundry/spawnctl
  • Append --accessToken to spawnctl command
docker run --rm redgatefoundry/spawnctl get all --accessToken <access-token-string>