From 708a00a04a7ed814199706ccb91217d586a0fbb2 Mon Sep 17 00:00:00 2001 From: Riaan Nolan Date: Fri, 20 Sep 2024 14:26:11 +1000 Subject: [PATCH 1/3] testing /var/lib/dockerdir directory for docker --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index da8b644..21ebb8d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: tty: true cgroup: host tmpfs: - - /var/lib/docker:mode=0777,dev,size=15g,suid,exec + - /var/lib/dockerdir:mode=0777,dev,size=15g,suid,exec - /run ports: - "3000:3000" # grafana From 4e8e4bfc4d0fda4efca20ceda048a5188dd67437 Mon Sep 17 00:00:00 2001 From: Riaan Nolan Date: Fri, 20 Sep 2024 14:42:45 +1000 Subject: [PATCH 2/3] testing /var/lib/dockerdir directory for docker --- docker-compose.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 21ebb8d..bd3a005 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: tty: true cgroup: host tmpfs: - - /var/lib/dockerdir:mode=0777,dev,size=15g,suid,exec + # - /var/lib/docker:mode=0777,dev,size=15g,suid,exec - /run ports: - "3000:3000" # grafana @@ -80,9 +80,9 @@ services: - ".:/vagrant" # Mount your ~/.ssh folder into the container # for Authenticating to Github - - "~/.ssh:/home/ubuntu/.ssh" - # For GPG Auth to Github - - "~/.gnupg:/home/ubuntu/.gnupg" + # - "~/.ssh:/home/ubuntu/.ssh" + # # For GPG Auth to Github + # - "~/.gnupg:/home/ubuntu/.gnupg" # Add your .aws or .azure or .kube directories here # - "$AZURE_CONFIG_DIR:/home/ubuntu/.azure" - "/sys/fs/cgroup:/sys/fs/cgroup:rw" From 08537185f8c1430a03e8eb170a3156cb68513dce Mon Sep 17 00:00:00 2001 From: Riaan Nolan Date: Fri, 20 Sep 2024 14:46:08 +1000 Subject: [PATCH 3/3] testing removing .ssh and .gpg mounts --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index bd3a005..d499336 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: tty: true cgroup: host tmpfs: - # - /var/lib/docker:mode=0777,dev,size=15g,suid,exec + - /var/lib/docker:mode=0777,dev,size=15g,suid,exec - /run ports: - "3000:3000" # grafana @@ -78,6 +78,7 @@ services: volumes: # Mounts the project folder into the container - ".:/vagrant" + - "/sys/fs/cgroup:/sys/fs/cgroup:rw" # Mount your ~/.ssh folder into the container # for Authenticating to Github # - "~/.ssh:/home/ubuntu/.ssh" @@ -85,7 +86,6 @@ services: # - "~/.gnupg:/home/ubuntu/.gnupg" # Add your .aws or .azure or .kube directories here # - "$AZURE_CONFIG_DIR:/home/ubuntu/.azure" - - "/sys/fs/cgroup:/sys/fs/cgroup:rw" working_dir: "/vagrant" environment: - ARCH