- ๐ Hi, Iโm @jizhilong
- ๐ฑ Iโm currently learning confugration languages
jizhilong / goexec Goto Github PK
View Code? Open in Web Editor NEWget access to docker containers in your web browser
get access to docker containers in your web browser
http://portainer.io/install.html
i got this in the browser:
rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "exec: \"env\": executable file not found in $PATH"
my script:
x-MacBook-Pro:iot apple$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1968b12a2960 portainer/portainer "/portainer" 6 weeks ago Up 51 seconds 0.0.0.0:9000->9000/tcp portainer
x-MacBook-Pro:iot apple$ goexec -w
2017/05/14 23:30:02 Permitting clients to write input to the PTY.
2017/05/14 23:30:02 URL: http://127.0.0.1:8080/
2017/05/14 23:30:02 URL: http://[::1]:8080/
2017/05/14 23:30:02 URL: http://[fe80::1]:8080/
2017/05/14 23:30:02 URL: http://[fe80::10a6:8ab6:a070:8ec7]:8080/
2017/05/14 23:30:02 URL: http://192.168.1.119:8080/
2017/05/14 23:30:02 URL: http://[fe80::2010:5eff:fe86:b4be]:8080/
2017/05/14 23:30:02 URL: http://[fe80::e59a:b2e2:27c9:e72f]:8080/
open http://127.0.0.1:8080/?container=1968b12a2960
My env:
x-MacBook-Pro:iot apple$ go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/apple/workspace/go"
GORACE=""
GOROOT="/usr/local/opt/go/libexec"
GOTOOLDIR="/usr/local/opt/go/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/go-build195269097=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
x-MacBook-Pro:iot apple$ docker -v
Docker version 17.05.0-ce, build 89658be
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.