Skip to content

Commit

Permalink
Renamed k3d registry
Browse files Browse the repository at this point in the history
  • Loading branch information
rofrano committed Aug 3, 2023
1 parent d2d66fc commit 0ac3d27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/scripts/setup-lab.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
echo "Setting up Docker lab environment..."
docker pull python:3.11-slim
docker run --restart=always -d --name redis -p 6379:6379 -v redis:/data redis:6-alpine
docker run -d --name redis -p 6379:6379 -v redis:/data redis:6-alpine
echo Setting up registry.local...
sudo bash -c "echo '127.0.0.1 registry.local' >> /etc/hosts"
sudo bash -c "echo '127.0.0.1 k3d-registry.local' >> /etc/hosts"
echo "Setup complete"

0 comments on commit 0ac3d27

Please sign in to comment.