Meek
Meek

Reputation: 447

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.

Upvotes: 32

Views: 26435

Answers (2)

Ahmad Ismail
Ahmad Ismail

Reputation: 13932

The short answer is that Docker Desktop is not entirely open-source, although parts of it are. See should I be worried?

Docker Desktop includes Docker Engine, Distribution, 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 image distribution engine is on:

https://github.com/distribution/distribution

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 executable binary distributions of Docker Desktop are on:

https://download.docker.com/

Upvotes: 17

Wassim Dhif
Wassim Dhif

Reputation: 1388

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.

Upvotes: 18

Related Questions