File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ if command -v container &> /dev/null
2424then
2525 echo " Apple 'container' tool detected. Current version:"
2626 container --version
27+ echo " Stopping any running Apple 'container' processes..."
28+ echo " Ensuring a clean installation of Apple 'container' tool..."
29+ uninstall-container.sh -k
30+ sudo pkill -f container
2731else
2832 echo " Apple 'container' tool not detected. Proceeding with installation..."
2933
3539 sudo installer -pkg container-installer.pkg -target /
3640fi
3741
42+ echo " Starting the Sandbox Container..."
43+ container system start
44+
3845echo " Setting up local network domain..."
3946
4047# Run the commands for setting up the local network
@@ -46,6 +53,11 @@ container system dns default set local
4653
4754echo " Starting the Sandbox Container..."
4855container system start
56+
57+
58+ echo " Pulling the latest image: instavm/coderunner"
59+ container image pull instavm/coderunner
60+
4961# Run the command to start the sandbox container
5062echo " Running: container run --name coderunner --detach --rm --cpus 8 --memory 4g instavm/coderunner"
5163container run --name coderunner --detach --rm --cpus 8 --memory 4g instavm/coderunner
You can’t perform that action at this time.
0 commit comments