115

GitHub - qfdk/EasyDockerWeb: Docker web console terminal xterm

 6 years ago
source link: https://github.com/qfdk/EasyDockerWeb
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

EasyDockerWeb

requirement

  • Docker remote api with 2375
  • macOs or Linux
  • Docker api >= v1.24

Run this docker command before.

docker run -p 2375:2375 -v /var/run/docker.sock:/var/run/docker.sock -d -e PORT=2375 shipyard/docker-proxy

or

  1. Set the following flag in the daemon.json file:
{
    "hosts": ["tcp://127.0.0.1:2375", "unix:///var/run/docker.sock"]
}
  1. Restart Docker
$ sudo systemctl restart docker

then

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

Docker

docker build -t coucou .
docker run -it -p 3000:3000 -v /var/run:/var/run coucou bash
# http://localhost:3000 enjory ;)

images

terminal

containers

images


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK