tobegit3hub / seagull

Friendly Web UI to manage and monitor docker
Apache License 2.0
1.93k stars 266 forks source link

Docker Remote API Library #51

Open amlwwalker opened 9 years ago

amlwwalker commented 9 years ago

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.

tobegit3hub commented 9 years ago

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

amlwwalker commented 9 years ago

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 ;)