Git Product home page Git Product logo

docker-kimchi's Introduction

docker-kimchi

This is a containerized version of Kimchi, a web GUI for managing Linux VMs.

Getting Started

https://hub.docker.com/repository/docker/dantheman213/kimchi

# Create SSL certificates
mkdir -p /etc/wok/ssl
mkdir -p /etc/kimchi/ssl
openssl dhparam -out /etc/wok/ssl/dhparam.pem 2048
openssl req -nodes -newkey rsa:2048 -keyout /etc/wok/ssl/wok.key -out /etc/wok/ssl/wok.csr -subj "/C=US/ST=California/L=San Francisco/O=Wok/OU=IT Department/CN=wok.local"
openssl x509 -signkey /etc/wok/ssl/wok.key -in /etc/wok/ssl/wok.csr -req -days 365 -out /etc/wok/ssl/wok.crt
openssl req -nodes -newkey rsa:2048 -keyout /etc/kimchi/ssl/kimchi.key -out /etc/kimchi/ssl/kimchi.csr -subj "/C=US/ST=California/L=San Francisco/O=Kimchi/OU=IT Department/CN=kimchi.local"
openssl x509 -signkey /etc/kimchi/ssl/kimchi.key -in /etc/kimchi/ssl/kimchi.csr -req -days 365 -out /etc/kimchi/ssl/kimchi.crt

# Pull and run the container
docker run --name kimchi \
  -v /etc/passwd:/etc/passwd:ro \
  -v /run:/run \
  -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
  -v /etc/group:/etc/group:ro \
  -v /etc/shadow:/etc/shadow:ro \
  -v /var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock \
  -v /var/lib/libvirt:/var/lib/libvirt \
  -v /etc/libvirt:/etc/libvirt \
  -v /storage:/storage \
  -v /etc/wok/ssl/dhparams.pem:/etc/wok/dhparams.pem:ro \
  -v /etc/wok/ssl/wok.crt:/etc/wok/wok-cert.pem:ro \
  -v /etc/wok/ssl/wok.key:/etc/wok/wok-key.pem:ro \
  -v /etc/kimchi/ssl/kimchi.crt:/etc/kimchi/kimchi-cert.pem:ro \
  -v /etc/kimchi/ssl/kimchi.key:/etc/kimchi/kimchi-key.pem:ro \
  -p 8001:8001 \
  --user 0:0 \
  --privileged \
  dantheman213/kimchi:latest

Reference

https://github.com/kimchi-project/kimchi

https://github.com/kimchi-project/wok

docker-kimchi's People

Contributors

dantheman213 avatar mike391 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

docker-kimchi's Issues

Failed to connect to bus: no data available

Im getting the following error:

kimchi    | Generating DSA parameters, 2048 bit long prime
kimchi    | .............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*
kimchi    | ..+.......+...............+..+..........+..............+.+...........+.........+..+......+.........+........................+....+...+....+.....................+...........+..........................+...............+...............................+...+.......+.+.+...+.......+.................+.....+.+......+......+......+.........+............................+....+..+......+.+....................+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*
kimchi    | rc: 1 error: Failed to connect to bus: No data available
kimchi    | Failed to connect to bus: No data available
kimchi    |  returned from cmd: service nginx status
kimchi    | Failed to connect to bus: No data available
kimchi    | Failed to connect to bus: No data available

Ive tried both the docker command you have on your github and also attempted to use docker-compose:

version: '3.1'
services:
  kimchi:
      container_name: kimchi
      image: dantheman213/kimchi:latest
      user: 0:0
      privileged: true
      restart: always
      ports:
        - 8001:8001
      volumes:
        - /srv/dev-disk-by-label-RAID/Docker/.config/kimchi/:/kimchi
        - /run/dbus/system_bus_socket:/run/dbus/system_bus_socket:ro
        - /etc/passwd:/etc/passwd:ro
        - /run:/run
        - /sys/fs/cgroup:/sys/fs/cgroup:ro
        - /etc/group:/etc/group:ro
        - /etc/shadow:/etc/shadow:ro
        - /var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock
        - /var/lib/libvirt:/var/lib/libvirt
        - /etc/libvirt:/etc/libvirt
        - /srv/dev-disk-by-label-SSDSTORAGE/VM:/storage
      environment:
        PUID: 0
        GUID: 0
      network_mode: "bridge"

Not really sure whats up, any help would be appreciated :)

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.