Made with Material for MkDocs
stefanprodan / dockerdash Goto Github PK
View Code? Open in Web Editor NEWDocker dashboard built with ASP.NET Core, Docker.DotNet, SignalR and Vuejs
License: MIT License
Docker dashboard built with ASP.NET Core, Docker.DotNet, SignalR and Vuejs
License: MIT License
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.