Files
startusingdocker/README.md
2026-01-30 08:21:35 +00:00

3.9 KiB

Start using docker

Here is an explanation of the architecture to be used in the training.

This is an academic setup; it is not intended to be a production environment.

Working repository

Attached is the work repository we will use during the course:

Start Using Docker

For the training sessions, computers will be needed, either laptops or desktops.

Previous installation for local development

We need to install these 3 applications on our machines:

Vagrant fetches virtual machines from remote repositories, so we advise disconnecting any VPN connections on your machine.

Setting up the environment

To download the repository, you need to download the code:

git clone https://git.agile611.com/Agile611/startusingdocker
cd startusingdocker

From the folder startusingdocker, use the following command to set up an Ubuntu 24.04 VM (from now on, the Box):

vagrant up

Then, to access the Box, connect via SSH using the following command:

vagrant ssh

Troubleshooting potential problems

Provisioning the Box

If you have problems provisioning the Box, you can download it directly from here depending on your architecture.

Then, you need to know the path of the Box and execute the following commands:

vagrant box add /The/Path/From/Your/Downloaded/box/bento-ubuntu-24-04.box --name bento/ubuntu-24.04
vagrant init bento/ubuntu-24.04

The init command creates a VagrantFile with your initial configuration. In the same folder where this Vagrantfile is located, please execute the following command:

vagrant up

Then, connect to the Box using the following command:

vagrant ssh

If you get a terminal from the Box, your environment is ready.

Common Networking Problems

If you have proxies or VPNs running on your machine, it is possible that Vagrant is not able to provision your environment. Please check your connectivity beforehand.

Virtualization with VirtualBox

It is important to ensure that you can virtualize with VirtualBox. If you cannot, you may need to enable VT-X in your machine's BIOS. Here is how to enable it in the BIOS:

Vagrant Installation Videos

Here are videos on how to install Vagrant on different platforms:

To run all this setup, you need to have Git, Vagrant, and VirtualBox installed on your machine.

License

License: CC BY-NC 4.0 This tutorial is released into the public domain by Agile611 under the Creative Commons Attribution-NonCommercial 4.0 International license.

This README file was originally written by Guillem Hernández Sola and is likewise released into the public domain.

Contact and support

Please contact Agile611 for further details.

  • Agile611
  • Carrer Laureà Miró 309
  • 08950 Esplugues de Llobregat (Barcelona)

Agile611