Giter Club home page Giter Club logo

dockerdash's Introduction

Stefan Prodan's Blog

Made with Material for MkDocs

dockerdash's People

Contributors

stefanprodan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dockerdash's Issues

NullReferenceException on run

Hi,

I'm getting this error using docker logs dockerdash

Hosting environment: Production
Content root path: /app
Now listening on: http://*:5050
Application started. Press Ctrl+C to shut down.
info: DockerDash.TokenProvider.TokenProviderMiddleware[0]
Token generated for admin IP 88.173.8.57 at 11/08/2016 22:31:42 expires after 48 hours
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {92804b56-ef0c-4103-b8bb-b545948bd11c} may be persisted to storage in unencrypted form.
fail: DockerDash.DockerService[1001]
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at DockerDash.DockerService.d__9.MoveNext()

after i ran the container this way

docker run --net=isolated_nw
-e DOCKERDASH_USER='admin'
-e DOCKERDASH_PASSWORD='changeme'
-p 5050:5050
-v /var/run/docker.sock:/var/run/docker.sock
--name dockerdash
-d stefanprodan/dockerdash

The Error line is displayed in the logs only after logging in.
The same error line is displayed again when i use the Host button in the navbar.
Buttons Host, About and Logout are the only elements displayed. Logout and About work as expected.

In the browser console i get this

SignalR: Websocket opened.lib.js:43:3362
SignalR: webSockets transport connected. Initiating start request.
SignalR: The start request succeeded. Transitioning to the connected state.
SignalR: Now monitoring keep alive with a warning timeout of 13333.333333333332, keep alive timeout of 20000 and disconnecting timeout of 30000
SignalR: Invoking mainhub.GetHost
SignalR: mainhub.GetHost failed to execute. Error: Object reference not set to an instance of an object.

My docker version is Docker version 1.11.2, build bac3bae and running on CoreOS stable.
I'm wondering if there's a problem with mounting the docker.sock into the container because i have some other issues with another project of yours saying that it cannot find docker but that may be a totally different issue.

Anyway i can tell you the /var/run/docker.sock path is valid as the command ls -lah /var/run/d* returns me this

-rw-r--r--. 1 root root 4 Nov 4 20:05 /var/run/docker.pid
srw-rw----. 1 docker docker 0 Nov 4 20:05 /var/run/docker.sock

cannot log in

Hello! I'm doing a similar project to yours (using docker commands inside an aspnetcore application) and therefore i wanted to tryout your application. Unfortunatelly I cannot log in to the interface...

I'm running the container with your standard command:

docker pull stefanprodan/dockerdash:latest
docker run -d -p 5050:5050
-v /var/run/docker.sock:/var/run/docker.sock
-e DOCKERDASH_USER='admin'
-e DOCKERDASH_PASSWORD='changeme'
--name dockerdash
stefanprodan/dockerdash

but "admin" and password "changeme" does not work... I also tried to change the parameters but the login does not work.

grafik

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.