This is the Dockerfile recipe used to build the official Cozy image.
It is built on top of the Ubuntu 14.04 image.
- Install Docker. This recipe has been tested on Docker v1.0.1 and newer.
Fetch the Cozy image:
sudo docker pull cozy/full
OR you can build the container manually by running:
sudo docker build -t cozy/full github.com/cozy-labs/cozy-docker
sudo docker run -d -p 80:80 -p 443:443 cozy/full
-d tells Docker to daemonize the process and
-p to bind ports to the host.
Then, you can open https://localhost/ in your browser to start using your new
dockerized cozy instance.
Usage as a development environment
You can also use the same Docker image as a development environment. To do so, just add
-e NODE_ENV=development and
sudo docker run -e NODE_ENV=development -e DISABLE_SSL=true -d -p 80:80 cozy/full
In order to modify or patch this recipe you have to clone the repository:
git clone https://github.com/cozy-labs/cozy-docker cd cozy-docker
Modify the Dockerfile and/or the configuration files then build the container:
sudo docker build -t cozy/full .
It is highly recommended to build the image locally if you want to run Cozy in a production environment:
sudo docker build -t cozy github.com/cozy-labs/cozy-docker
This way, the security tokens will be reset, and the SSL certificate will be renewed.
What is Cozy?
Cozy is a platform that brings all your web services in the
same private space. With it, your web apps and your devices can share data
easily, providing you
with a new experience. You can install Cozy on your own hardware where no one
You can reach the Cozy Community by: