Skip to content

Instantly share code, notes, and snippets.

@gbraad
Created October 27, 2021 07:17
Show Gist options
  • Save gbraad/617461842510247dcbb033cfbfd33a75 to your computer and use it in GitHub Desktop.
Save gbraad/617461842510247dcbb033cfbfd33a75 to your computer and use it in GitHub Desktop.
Run openvscode-server from Podman

Run openvscode-server from Podman

It's a simple as:

podman pull docker.io/gitpod/openvscode-server:latest
podman run -it --init -p 3000:3000 -v "$(pwd):/home/workspace:cached" gitpod/openvscode-server

Note: since podman runs rootless you might get a Permission Denied:

Error: EACCES: permission denied, mkdir '/home/workspace/.openvscode-server'

this can be resolved by doing chmod o+w -R ${PWD}. This will allow others to write to those files. Be careful about this. This is needed until the container is made aware to not run as root, but current user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment