Skip to content

A simple Web Ui for Docker using xterm.js, Node.js, dockerode and Socket.io

License

Notifications You must be signed in to change notification settings

planetacomputer/EasyDockerWeb

 
 

Repository files navigation

Laboratoris Quan faig click sobre Download es descarrega i s'executa el laboratori, passant al terminal.

EasyDockerWeb

A simple Web Ui for Docker using xterm.js, Node.js and Socket.io.

With this solution you will be able to create your owner SAS service.

  • If you need to use docker cluster, https://portainer.io/ may be a good choice.
  • search image by name
  • terminal
  • log

Quick start

Set EDW_USERNAME and EDW_PASSWORD to overwrite the default username and password.

PS: Default username and password are admin/admin.

docker run -it -d -p 3000:3000 -e EDW_USERNAME='admin' -e EDW_PASSWORD='admin' -v /var/run/docker.sock:/var/run/docker.sock qfdk/easydockerweb

http://localhost:3000 enjoy ;)

Requirement

  • Node.js
  • Docker remote api >= v1.24
  • macOS or Linux or windows

Development mode

git clone https://github.com/qfdk/EasyDockerWeb.git
cd EasyDockerWeb
yarn
yarn start

Build your owner docker image

git clone https://github.com/qfdk/EasyDockerWeb.git
cd EasyDockerWeb
docker build -t easy-docker-web .
docker run -p 3000:3000 -v /var/run/docker.sock:/var/run/docker.sock easy-docker-web

中文

简单的 docker 管理程序,使用了express socket.io 来实现前后端通讯.

Images

login

overview

terminal

newContainer

containers

images

pull

pull2

Sponsor

JetBrains

React.js web ui (beta)

cd web-ui
yarn install
yarn start

http://localhost:4000

Mongo

sessionID slugLaboratori X firstName X lastName X email X nota X arrEncerts X datePosted X

revisar puntuació dins terminal

git clone https://github.com/planetacomputer/EasyDockerWeb.git

add .env file

npm install (tested with node.js v17.3.1)

docker run --rm -p 3000:3000 -v /home/dani/Documents/EasyDockerWeb/:/src -v /var/run/docker.sock:/var/run/docker.sock planetacomputer/easy-docker-web

You can create your own image from the project code folder: docker build -t easy-docker-web2 . Then you can run the container without sharing the code folder: docker run --rm -p 3000:3000 -v /var/run/docker.sock:/var/run/docker.sock easy-docker-web2

About

A simple Web Ui for Docker using xterm.js, Node.js, dockerode and Socket.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.2%
  • HTML 31.8%
  • CSS 2.4%
  • Less 1.7%
  • EJS 0.7%
  • Dockerfile 0.2%