Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the Docker source code located (github repo)?

I need to install docker on Angstrom linux, In order to do that I would like to download the source code of docker, and make the files myself.

But I cannot find the source code?

docker.github.io is apparently just the documentation.

Thanks!

like image 306
Meek Avatar asked Dec 13 '17 13:12

Meek


People also ask

Where is Docker source code?

The Registry is a stateless, highly scalable server side application that stores and lets you distribute Docker images. The Registry is open-source, under the permissive Apache license. You can find the source code on GitHub.

Is Docker open source GitHub?

GitHub - microsoft/docker: Docker - the open-source application container engine.


2 Answers

You need to build Moby, to make it simple, see Moby as the new name for Docker.

To do so, simply clone the git repository, checkout the tag you want and run a make command

git clone https://github.com/moby/moby.git
git checkout tags/VERSION
make

You will need to have Docker installed on your dev machine to build it.

like image 176
Wassim Dhif Avatar answered Sep 19 '22 13:09

Wassim Dhif


Docker Desktop includes Docker Engine, Docker CLI client, Docker Compose, Docker Content Trust, Kubernetes, and Credential Helper.

As mentioned in https://github.com/docker/docker-ce/blob/master/README.md

The source code for Docker Engine is on:

https://github.com/moby/moby

The source code for docker CLI is on:

https://github.com/docker/cli

The source code of docker compose is on:

https://github.com/docker/compose

But to Bring these tools to a usable bundle, you need Docker Desktop. The source code of Docker Desktop is on:

https://download.docker.com/

CAUTION: As you can see, the source code of Docker Desktop that they are providing is not under any version control system, thus hard to audit. So please be careful when putting this code in production.

like image 27
blueray Avatar answered Sep 18 '22 13:09

blueray