Open Interpreter docker environment
Execute following command:
$ cd && git clone https://github.com/karaage0703/open-interpreter-docker
$ cd ~/open-interpreter-docker
$ docker build -t open-interpreter-simple ./container-simple
$ cd ~/open-interpreter-docker
$ docker run -it --rm -v $(pwd):/root open-interpreter-simple
# with environmental variables
$ docker run -it --rm -e OPENAI_API_KEY=<OPENAI_API_KEY> -v $(pwd):/root open-interpreter-simple
Execute following command in container:
root@hostname:~# interpreter -y
And enjoy open interpreter
$ cd ~/open-interpreter-docker
$ docker build -t open-interpreter-gui ./container-gui
$ cd ~/open-interpreter-docker
$ docker run --rm -v $(pwd):/root -p 6080:80 open-interpreter-gui
# with environmental variables
$ docker run --rm -e OPENAI_API_KEY=<OPENAI_API_KEY> -v $(pwd):/root -p 6080:80 open-interpreter-gui
Browse http://127.0.0.1:6080/
Enjoy open interpreter