Sign inSign up

recluzegeek/cursor-container

By recluzegeek

•Updated about 1 year ago

Cursor inside a linux container

Image
Developer tools
0

896

recluzegeek/cursor-container repository overview

This image is based on the work of jlesage/docker-baseimage-gui)⁠ and a blog post accompanying on how this image was made, can be viewed at containerize-cursor⁠

⁠Features

  • sudo access
  • bash shell inside the editor
  • Web and VNC access
  • Lightweight containerized setup for running Cursor editor

⁠Run this image

docker run -it \
  -e APP_USER_ID=$(id -u) \
  -e APP_GROUP_ID=$(id -g) \
  -p 5800:5800 \
  -p 5900:5900 \
  recluzegeek/cursor-container

You can either visit http://localhost:5800 in your browser, or use a VNC client like TigerVNC or Remmina to access the Cursor interface.


⁠Setup Instructions

  1. Hover over the Login button inside Cursor, right-click and select Copy Link. Paste the link in your host machine browser to authenticate.

    If the link doesn’t paste directly, click the three vertical dots on the left sidebar inside the container browser. You’ll find your copied link there. Copy it again and paste in your browser.

  2. To get shell access inside Cursor’s terminal, open VSCode Settings inside Cursor. Search for linux, then set:

    Terminal > Integrated > Default Profile > Linux = bash
    
  3. Use volumes or bind mounts to share files between host and container as needed.

Tag summary

Content type

Image

Digest

sha256:2e5ea2a63…

Size

706.7 MB

Last updated

about 1 year ago

docker pull recluzegeek/cursor-container