Sign inSign up

devspacesh/devspace

By devspacesh

•Updated 6 months ago

This is the official image for DevSpace: https://github.com/devspace-cloud/devspace

Image
1

100K+

devspacesh/devspace repository overview

DevSpace Logo

⁠GitHub⁠ • Website⁠ • Quickstart⁠ • Examples⁠ • Documentation⁠ • Blog⁠ • Slack⁠ • Twitter⁠

Build Status Passing Latest Release License: Apache-2.0
Total Downloads (GitHub Releases) NPM Installs per Month


⁠Dockerfile

The Dockerfile for this image is available on GitHub⁠.


⁠How to use this image

docker run devspacesh/devspace devspace [command] [args]

⁠Example: Get version
docker run devspacesh/devspace devspace --version

⁠Example: Deployment
docker run -v ${PWD}:/project -w /project devspacesh/devspace devspace deploy
  1. Mounts current working directory into /project within the container
  2. Sets /project as working dir
  3. Runs devspace deploy inside working dir

⁠Example: Start Development Mode
docker run -it -v ${PWD}:/project -w /project devspacesh/devspace devspace dev
  1. Mounts current working directory into /project within the container
  2. Sets /project as working dir
  3. Runs devspace dev inside working dir

⁠Example: Start Interactive Development Mode
docker run -it -v ${PWD}:/project -w /project devspacesh/devspace devspace dev -i
  1. Mounts current working directory into /project within the container
  2. Sets /project as working dir
  3. Runs devspace dev -i inside working dir

⁠Example: Start Interactive Terminal Session
docker run -it -v ${PWD}:/project -w /project devspacesh/devspace
  1. Mounts current working directory into /project within the container
  2. Sets /project as working dir
  3. Opens the default ENTRYPOINT which is /bin/sh and sets -it to start an interactive shell

⁠Example: Authenticate with DevSpace Cloud before Deployment
docker run -v ${PWD}:/project -w /project devspacesh/devspace sh -c "devspace login --key=[KEY] && devspace deploy"
  1. Mounts current working directory into /project within the container
  2. Sets /project as working dir
  3. Runs sh -c "devspace login --key=[KEY] && devspace deploy" within shell

Tag summary

Content type

Image

Digest

sha256:775d82109…

Size

138 MB

Last updated

6 months ago

docker pull devspacesh/devspace