Public Repository

Last pushed: 2 years ago
Short Description
Simple Docker container management
Full Description

docuro is a web interface to interact with the docker Remote API. It is based on crosbymichael/dockerui.

Usage

Quickstart using Docker

docker run -d -p 10443:10443 -v /var/run/docker.sock:/var/run/docker.sock n3r0ch/docuro

Open your browser to http://<dockerd host ip>:10443

Bind mounting the unix socket into the docuro container is much more secure than exposing your docker daemon over tcp.

Quickstart using fig

Add the following lines to your fig.yml.

docuro:
  image: n3r0ch/docuro
  ports:
    - "10443:10443"
  volumes:
    - /var/run/docker.sock:/var/run/docker.sock

Build and run local

make install
docker run -d -p 10443:10443 -v /var/run/docker.sock:/var/run/docker.sock n3r0ch/docuro

Additional Requirements

  • Grunt
  • make

Login

User:        docuro
Password:    docuro

Changing configuration

Authorization

  1. Replace .htpasswd file at docuro config location folder (e.g. ./config/auth)
  2. Generate new credentials
    • via htpasswd shell command
      htpasswd -c ~/dockerui/.htpasswd [username]
      
    • or via one of these websites htpasswd generators (opens google search)
  3. Rebuild and rerun Docker container

Replace SSL certificates

  1. Replace the folder for SSL certificates docuro config folder (e.g. ./config/auth)
  2. Generate new certificates

     openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj "/C=US/ST=Unknown/L=Unknown/O=Dis/CN=localhost" -keyout ~/dockerui/ssl/server.key  -out ~/dockerui/ssl/server.crt
    

    PLEASE NOTE: Key and certificate file names (server.key and server.crt) should not be changed

  3. Rebuild and rerun Docker container

License

The MIT License (MIT)

Copyright (c) 2015 Felix Imobersteg

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Docker Pull Command
Owner
n3r0ch