+
Skip to content

TBD/dockerweb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a proof-of-concept for attaching a web-based terminal to a live Docker container.

jun-29-2016 08-43-42

You'll need Docker installed and running, probably on a Linux or Mac machine (– tested with Docker Version 1.12.0-rc2-beta16).

An express app will start, connect to Docker on /var/run/docker.sock and build a minimal Alpine linux image.

Visiting http://localhost:7777/ will spin up a new Docker container and connect your browser to it. Type away!

Installation

Using docker-compose:

docker-compose up --build web && open http://localhost:7777/

...or on your host, using Node 6.2+:

cd server
npm install
npm start
open http://localhost:7777/

About

Connect a browser to a docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.8%
  • Other 0.2%
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载