Sign inSign up

zzorica/drac

By zzorica

Updated about 7 years ago

Debian 7 (wheezy) with iceweasel (firefox), icedtea-7-plugin for accessing DRAC java virtual console

Image
0

10K+

zzorica/drac repository overview

This is my first public image. Basically when started it runs browser in your X (Wayland will work also) from where you can open .jnlp files downloaded from DRAC web UI and start server virtual console. Debian wheezy is made with debootstrap and imported into docker.

Dockerfile:

FROM zzorica/drac

# Replace 1000 with your user / group id
RUN export uid=1000 gid=1000 && \
    mkdir -p /home/developer && \
    echo "developer:x:${uid}:${gid}:Developer,,,:/home/developer:/bin/bash" >> /etc/passwd && \
    echo "developer:x:${uid}:" >> /etc/group && \
    echo "developer ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/developer && \
    chmod 0440 /etc/sudoers.d/developer && \
    chown ${uid}:${gid} -R /home/developer

USER developer
ENV HOME /home/developer
CMD /usr/bin/firefox
  1. first build your image from Dockerfile:

docker build -t drac-container .

  1. then run container with:

docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix drac-container

Tag summary

Content type

Image

Digest

Size

710.3 MB

Last updated

about 7 years ago

docker pull zzorica/drac