Coder Social home page Coder Social logo

docker-mcuxpresso's People

Contributors

aduskett avatar reibax-marcus avatar

Stargazers

 avatar

Watchers

 avatar

docker-mcuxpresso's Issues

Unable to init server: Could not connect: Connection refused

after docker-compose up up i got this

mcuexpresso-dev    | Unable to init server: Could not connect: Connection refused
mcuexpresso-dev    | Mcuxpressoide: Cannot open display: 
mcuexpresso-dev    | No protocol specified
mcuexpresso-dev    | Unable to init server: Could not connect: Connection refused
mcuexpresso-dev    | Mcuxpressoide: Cannot open display: 
mcuexpresso-dev    | Mcuxpressoide:
mcuexpresso-dev    | An error has occurred. See the log file
mcuexpresso-dev    | /usr/local/mcuxpressoide-11.3.1_5262/ide/configuration/1620638923014.log.

the written logfile:

!SESSION 2021-05-10 09:28:42.929 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_265
java.vendor=AdoptOpenJDK
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2021-05-10 09:28:43.201
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:81)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1447)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1420)
philipp@debian:~/development/engel/docker-mcuxpresso$ 

docker-compose file

version: "3.7"
services:
   mcuexpresso-dev:
    build:
      context: ./
      args:
       # Customize your IDE version here
       IDE_VERSION: 11.3.1_5262
       USERNAME: root
       UID: 1000
       GID: 1000
    privileged: true
    stdin_open: true
    tty: true
    environment:
      - DISPLAY=unix:0
    volumes:
      - ./:/mnt
      # dbus
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
      - /etc/machine-id:/var/lib/dbus/machine-id
      - /var/run/dbus:/var/run/dbus
      # X11 Forwarding
      - /tmp/.X11-unix:/tmp/.X11-unix
      - ./log:/usr/local/mcuxpressoide-11.3.1_5262/ide/configuration
    image: mcuexpresso-dev:latest
    container_name:  mcuexpresso-dev

DISPLAY of host

echo $DISPLAY
:0

Linux debian 4.19.0-11-amd64 #1 SMP Debian 4.19.146-1 (2020-09-17) x86_64 GNU/Linux

PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster

any idea what i am doing wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.