Skip to content

Startup Error: Unable to detect graphics environment #13

@jashby44

Description

@jashby44

Hi, I'm hitting a start up error when trying to fire this up on my mac (Catalina 10.15.7):

$ docker run --rm \
  -e DISPLAY=${DISPLAY} \
  -v /tmp/.X11-unix:/tmp/.X11-unix \
  -v ~/.PyCharm:/home/developer/.PyCharm \
  -v ~/.PyCharm.java:/home/developer/.java \
  -v ~/.PyCharm.py2:/usr/local/lib/python2.7 \
  -v ~/.PyCharm.py3:/usr/local/lib/python3.7 \
  -v ~/.PyCharm.share:/home/developer/.local/share/JetBrains \
  -v ~/myproject:/home/developer/Project \
  --name pycharm-$(head -c 4 /dev/urandom | xxd -p)-$(date +'%Y%m%d-%H%M%S') \
rycus86/pycharm:latest
Unable to find image 'rycus86/pycharm:latest' locally
latest: Pulling from rycus86/pycharm
8f0fdd3eaac0: Pull complete 
c4ab03a22832: Pull complete 
67091485099b: Pull complete 
fd74f81b5306: Pull complete 
a19fc54a8a15: Pull complete 
Digest: sha256:332f672e1ceaddab72bc9cbe97155ca9a8d655a48462335a36f9719d78a4ed89
Status: Downloaded newer image for rycus86/pycharm:latest
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.

Startup Error: Unable to detect graphics environment

Any idea what the issue is? Something with X11?

Here's my docker version fyi:

docker --version
Docker version 20.10.5, build 55c4c88

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions