Housekeeping

👉  The sooner, the better!

Docker and Docker compose#

Make sure you always use the latest versions of Docker and Docker Compose.

See Docker and Docker Compose releases.

Linux#

For non-Vagrant users, follow the Docker and Docker Compose official documentation.

Vagrant#

For Vagrant users, update the variable VAGRANT_DOCKER_COMPOSE_VERSION from the .env file and run:

console
# If the VM is running.
vagrant halt
# Always.
vagrant destroy
make vagrant
vagrant up
# Versions check.
vagrant ssh
docker --version
docker-compose --version

It will re-create the Vagrant VM with the latest versions of Docker and Docker Compose.

note

📣  Don't forget to update the .env.dist file for your colleagues too 😉

Docker Compose file#

Each service from the docker-compose.yml file uses a Docker image and a version number.

By default, most of the versions should use the X.Y format (X for major updates, Y for minor ones).

The idea here is that running docker-compose pull will only update Docker images with bugs fixes.

For major and minor updates, read the patch note and the related documentation carefully before updating your docker-compose.yml file.

Releases:

Vagrant and VirtualBox#

Run vagrant version to see your current version and the latest one. Follow the printed instructions for upgrading Vagrant if required.

For VirtualBox, open the application, it should tell you to download the newer version (if any).

note

📣  From time to time, you may also update the VAGRANT_BOX variable from the .env file (and from env.dist) with a newer Ubuntu box. The update process for Vagrant users is the same as updating the variable VAGRANT_DOCKER_COMPOSE_VERSION.