seagull icon indicating copy to clipboard operation
seagull copied to clipboard

Docker Remote API Library

Open amlwwalker opened this issue 9 years ago • 2 comments

Did you think of using this docker library for the requests rather than writing your own?

https://github.com/fsouza/go-dockerclient

Your library is very nice.

amlwwalker avatar Jul 15 '15 06:07 amlwwalker

Thanks @amlwwalker and I will have a look. It would be great if it works well with docker unix socket :smiley:

tobegit3hub avatar Jul 15 '15 08:07 tobegit3hub

Being able to make api calls via the web api would be nice, especially as if you are using boot2docker for development, you dont get access to the docker socket via unix:///var/run/docker.sock, instead its just tcp. Its a nice little application, I think its missing being able to create containers, I was looking at adding that, but first need the development process to be smooth.

I did something similar a while ago, and for creating containers I had a list of the types of images that were available to make containers from, you gave it a name and a github repository and it pulled the repository. You also specify shell commands to run once its up.

It meant developers could build apps, push to github and in a few clicks have their app running in docker container. Your UI is nicer than mine though ;)

amlwwalker avatar Jul 17 '15 07:07 amlwwalker