martin059 / virtualization-level-2-vagrant-setup

TFG Project's Second & Third Virtualization Levels
Apache License 2.0
0 stars 0 forks source link

Add `docker` installation #8

Closed martin059 closed 4 months ago

martin059 commented 4 months ago

Issue description

Add docker installation rules so it can be automatically installed in the VM.

This will likely be done in the Ansible script.

Docker isn't pre-included in the base alma linux box so it must be added through an Ansible script

Development task

martin059 commented 4 months ago

End result:

[vagrant@at-pr-dc1 ~]$ docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
c1ec31eb5944: Pull complete
Digest: sha256:266b191e926f65542fa8daaec01a192c4d292bff79426f47300a046e1bc576fd
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.