diff --git a/hal/buildroot/README.md b/hal/buildroot/README.md index 81e98f9..c11e942 100644 --- a/hal/buildroot/README.md +++ b/hal/buildroot/README.md @@ -50,31 +50,8 @@ VEK signed the Attestation Report! Measurement from SNP Attestation Report: daa2e216eafd8c6404b72157a130500ab0c0944064c8e1009ebf5e910371caf57a6711654108a01a69baaa1a05759cf0 ``` -Clone the repository. Since this is a private repository, you need to create a classic personal access token with `repo` and `read:packages` permissions. +By default the docker images have been pulled from docker registry and the the docker composition has been started. The folder which contains the docker compose file is at `/mnt/docker/cube/docker`. To see the running containers, run the following command: ```bash -git clone https://github.com/ultravioletrs/cube.git -``` - -Your username is your github username and your password is the access token you generated in step above. - -Login to the docker registry - -```bash -docker login ghcr.io -``` - -Your username is your github username and your password is the access token you generated in step above. - -Pull the docker images - -```bash -cd cube/docker/ -docker compose pull -``` - -Start the docker composition - -```bash -docker compose up -d +docker ps -a ``` diff --git a/hal/buildroot/linux/systemd/setup-cube.sh b/hal/buildroot/linux/systemd/setup-cube.sh index 185767a..012c556 100755 --- a/hal/buildroot/linux/systemd/setup-cube.sh +++ b/hal/buildroot/linux/systemd/setup-cube.sh @@ -44,3 +44,10 @@ tee /etc/docker/daemon.json > /dev/null <:${UI_PORT} ``` diff --git a/hal/ubuntu/qemu.sh b/hal/ubuntu/qemu.sh index c813465..307a307 100644 --- a/hal/ubuntu/qemu.sh +++ b/hal/ubuntu/qemu.sh @@ -78,6 +78,10 @@ runcmd: - groupadd docker - usermod -aG docker $USER - newgrp docker + - git clone https://github.com/ultravioletrs/cube.git + - cd cube/docker + - docker compose pull + - docker compose up -d final_message: "Docker installation complete." EOF