under development
This commit is contained in:
3
scripts/setup-lxc.sh
Normal file
3
scripts/setup-lxc.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
lxc launch ubuntu $LXC_CONTAINER_NAME -p $LXC_PROFILE && \
|
||||
lxc config set $LXC_CONTAINER_NAME "security.nesting" "true" && \
|
||||
#executar o ficheiro sobre o container setup-ubuntu.sh
|
||||
8
scripts/setup-ubuntu.sh
Normal file
8
scripts/setup-ubuntu.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
# setup docker
|
||||
curl -s "https://git.limbosolutions.com/kb/docker/raw/branch/main/scripts/host/ubuntu-fuse-setup.sh" | bash
|
||||
|
||||
#install portainer
|
||||
docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest
|
||||
pause(3)
|
||||
docker container list
|
||||
|
||||
Reference in New Issue
Block a user