Closed rolltidehero closed 1 year ago
The script runs without any problems from this end.
____ __
/ __ \____ _____/ /_ __ _____
/ / / / __ \/ ___/ //_/ _ \/ ___/
/ /_/ / /_/ / /__/ ,< / __/ /
/_____/\____/\___/_/|_|\___/_/
Using Advanced Settings
Using Distribution: debian
Using debian Version: 12
Using Container Type: 1
Using Root Password: Automatic Login
Container ID: 113
Using Hostname: docker
Using Disk Size: 4
Allocated Cores: 2
Allocated RAM: 2048
Using Bridge: vmbr0
Using IP Address: dhcp
Using Gateway IP Address: Default
Disable IPv6: yes
Using Interface MTU Size: Default
Using DNS Search Domain: Host
Using DNS Server IP Address: Host
Using MAC Address: AE:1A:60:07:B7:59
Using Vlan: Default
Enable Root SSH Access: no
Enable Fuse Overlayfs (ZFS): no
Enable Verbose Mode: no
Creating a Docker LXC using the above advanced settings
✓ Using local for Template Storage.
✓ Using local-lvm for Container Storage.
✓ Updated LXC Template List
✓ LXC Container 113 was successfully created.
✓ Started LXC Container
✓ Set up Container OS
✓ Network Connected: 192.168.86.253
✓ Internet Connected
✓ DNS Resolved github.com to 140.82.112.4
✓ Updated Container OS
✓ Installed Dependencies
✓ Installed Docker v24.0.6
Would you like to add Portainer? <y/N> y
✓ Installed Portainer 2.19.0
Would you like to add Docker Compose? <y/N> y
✓ Installed Docker Compose v2.21.0
✓ Customized Container
✓ Cleaned
✓ Completed Successfully!
As this issue is unrelated to the script, it is considered closed.
@rolltidehero Did you make any progress on figuring this out, as I'm also experiencing this issue. Here's my verbose logs:
✓ Installed Dependencies
++ get_latest_release moby/moby
++ curl -sL https://api.github.com/repos/moby/moby/releases/latest
++ cut '-d"' -f4
++ grep '"tag_name":'
+++ error_handler 23 'cut -d'\''"'\'' -f4'
+++ local exit_code=1
+++ local line_number=23
+++ local 'command=cut -d'\''"'\'' -f4'
+++ local 'error_message=\033[01;31m[ERROR]\033[m in line \033[01;31m23\033[m: exit code \033[01;31m1\033[m: while executing command \033[33mcut -d'\''"'\'' -f4\033[m'
+++ echo -e '\n\033[01;31m[ERROR]\033[m in line \033[01;31m23\033[m: exit code \033[01;31m1\033[m: while executing command \033[33mcut -d'\''"'\'' -f4\033[m'
+++ [[ 23 -eq 24 ]]
+++ error_handler 26 'cut -d'\''"'\'' -f4'
+++ local exit_code=1
+++ local line_number=26
+++ local 'command=cut -d'\''"'\'' -f4'
+++ local 'error_message=\033[01;31m[ERROR]\033[m in line \033[01;31m26\033[m: exit code \033[01;31m1\033[m: while executing command \033[33mcut -d'\''"'\'' -f4\033[m'
+++ echo -e '\n\033[01;31m[ERROR]\033[m in line \033[01;31m26\033[m: exit code \033[01;31m1\033[m: while executing command \033[33mcut -d'\''"'\'' -f4\033[m'
+++ [[ 26 -eq 24 ]]
+ DOCKER_LATEST_VERSION='
[ERROR] in line 23: exit code 1: while executing command cut -d'\''"'\'' -f4
[ERROR] in line 26: exit code 1: while executing command cut -d'\''"'\'' -f4'
++ error_handler 26 'DOCKER_LATEST_VERSION=$(get_latest_release "moby/moby")'
++ local exit_code=1
++ local line_number=26
++ local 'command=DOCKER_LATEST_VERSION=$(get_latest_release "moby/moby")'
++ local 'error_message=\033[01;31m[ERROR]\033[m in line \033[01;31m26\033[m: exit code \033[01;31m1\033[m: while executing command \033[33mDOCKER_LATEST_VERSION=$(get_latest_release "moby/moby")\033[m'
++ echo -e '\n\033[01;31m[ERROR]\033[m in line \033[01;31m26\033[m: exit code \033[01;31m1\033[m: while executing command \033[33mDOCKER_LATEST_VERSION=$(get_latest_release "moby/moby")\033[m'
[ERROR] in line 26: exit code 1: while executing command DOCKER_LATEST_VERSION=$(get_latest_release "moby/moby")
++ [[ 26 -eq 24 ]]
+ exit
I did receive this same message today, but on a second try of the script, all ran correctly. Could be some timeout in the network, I guess.
Please verify that you have read and understood the guidelines.
yes
A clear and concise description of the issue.
Command used:
Here is a breakdown of the different components of the command:
pct create
: This is the command to create a Proxmox Container.121
: This is the ID or number assigned to the new container you are creating.local:vztmpl/debian-12-standard_12.0-1_amd64.tar.zst
: This specifies the template or image that will be used to create the container. In this case, it is using the Debian 12 standard template.-features fuse=1,keyctl=1,nesting=1
: This specifies additional features that will be enabled for the container. In this case, thefuse
,keyctl
, andnesting
features are being enabled.-hostname docker
: This sets the hostname of the container to "docker".-tags proxmox-helper-scripts
: This assigns a tag to the container, in this case, "proxmox-helper-scripts".-net0 name=eth0,bridge=vmbr0,ip=192.168.1.121/24,gw=192.168.1.1
: This specifies the network configuration for the container. It assigns the interfaceeth0
, connects it to thevmbr0
bridge, sets the IP address to192.168.1.121
with a subnet mask of/24
, and sets the default gateway to192.168.1.1
.-onboot 1
: This sets the container to start automatically on boot.-cores 72
: This sets the number of CPU cores allocated to the container to 72.-memory 8196
: This sets the amount of memory allocated to the container to 8196 MB.-unprivileged 0
: This specifies that the container should be created with privileged permissions.-password ****
: This sets the root password for the container to "****".-rootfs local-zfs:40
: This specifies the storage location and size for the container's root filesystem. In this case, it is using the local ZFS storage and allocating 40 GB for the root filesystem.Which Linux distribution are you employing?
Debian 12
If relevant, including screenshots or a code block can be helpful in clarifying the issue.
Please provide detailed steps to reproduce the issue.
No response