This commit is contained in:
2025-11-18 03:20:27 +00:00
parent c50d803865
commit fadee048d7
49 changed files with 3243 additions and 0 deletions

21
assignments.sh Normal file
View File

@ -0,0 +1,21 @@
#!/bin/bash
set -e
# Update and install docker
apt update -y
apt install -y docker.io
# Enable & start Docker
systemctl enable docker
systemctl start docker
# Wait for docker daemon to be ready
tries=0
while ! docker info >/dev/null 2>&1; do
tries=$((tries+1))
echo "Waiting for Docker... ($tries)"
sleep 30
done
# Run the helloworld container
docker run -d --name hello -p 80:8080 testcontainers/helloworld:1.2.0