[elbe-users] elbe contrib dockerfile usage

Steih, Martin Martin.Steih at lachmann-rink.de
Sat Jan 14 10:34:27 CET 2023


Hi everyone,

I am trying to build and use a dockercontainer for elbe. I am using the provided makefile from contrib/dockerfile.

The image build works, but after the start of the container via make start or make connect, the container shuts itself off right after starting. Is there anything else to prepare that's not mentioned in the Readme?

docker ps | grep elbe-devel$ || \
docker run --name elbe-devel -d \
        -e container=docker \
        -e http_proxy= \
        -e https_proxy= \
        -e no_proxy= \
        -v /home/martin/elbe:/elbe -w /elbe\
        -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
        --cap-add SYS_ADMIN \
        --security-opt seccomp:unconfined \
        --security-opt apparmor:unconfined \
        --group-add kvm \
        --device /dev/kvm \
        --device /dev/fuse \
        elbe-devel-image
4e50e9e03b3fc48742aeb8f379c01890de0644fb5b7ce69068901ae253d320d5
docker exec -tiu 1000 elbe-devel /bin/bash
Error response from daemon: Container 4e50e9e03b3fc48742aeb8f379c01890de0644fb5b7ce69068901ae253d320d5 is not running
make: *** [Makefile:54: connect] Error 1


docker ps -a
CONTAINER ID   IMAGE              COMMAND                  CREATED         STATUS                       PORTS     NAMES
4e50e9e03b3f   elbe-devel-image   "/lib/systemd/systemd"   4 minutes ago   Exited (255) 4 minutes ago             elbe-devel

i. A. Martin Steih
Projektleiter
Entwicklung

[cid:image001.png at 01D92803.C61AAC30]<https://www.lachmann-rink.de/>

Lachmann & Rink GmbH
Martin.Steih at lachmann-rink.de<mailto:Martin.Steih at lachmann-rink.de> | www.lachmann-rink.de<https://www.lachmann-rink.de>
fon: +49 2734 2817 430<tel:+49%202734%202817%20430>

Hommeswiese 129, 57258 Freudenberg | Otto-Hahn-Straße 18-20, 44227 Dortmund
Geschäftsführer: Dipl.-Ing. Arjan Bijlard, Dipl.-Inf. Claudius Rink | Amtsgericht Siegen, HRB 2600
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linutronix.de/pipermail/elbe-users/attachments/20230114/93f28520/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 47352 bytes
Desc: image001.png
URL: <http://lists.linutronix.de/pipermail/elbe-users/attachments/20230114/93f28520/attachment-0001.png>


More information about the elbe-users mailing list