# webconsoleForDocker **Repository Path**: linqingping/webconsoleForDocker ## Basic Information - **Project Name**: webconsoleForDocker - **Description**: 浏览器进行docker容器访问 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-06-02 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 通过浏览器访问docker ## 解压并执行 ``` docker load < docker-exec-web-console.tar docker run -id \ --name docker-exec-web-console \ -p 9999:8888 \ -e "CONTEXT_PATH=/"\ -v /var/run/docker.sock:/var/run/docker.sock \ bitbull/docker-exec-web-console\ ``` # 浏览器访问: ``` http://localhost:9999?cid= http://localhost:9999?cid=&cmd=/bin/sh, 默认命令/bin/bash. ```