Installed Alpine Linux in LXC container
Installed docker inside it according to the official instructions
https://wiki.alpinelinux.org/wiki/Docker#Installation
With these parameters:
At the startup stage I get an error
Here they suggest a fix
https://stackoverflow.com/questions...-container-unable-to-apply-rc-ulimit-settings
How to fix this and where to do it?
Code:
root@host:~# pveam available | grep -i alpine
system alpine-3.18-default_20230607_amd64.tar.xz
system alpine-3.19-default_20240207_amd64.tar.xz
Code:
root@host:~# pveam download local alpine-3.19-default_20240207_amd64.tar.xz
downloading http://download.proxmox.com/images/system/alpine-3.19-default_20240207_amd64.tar.xz to /var/lib/vz/template/cache/alpine-3.19-default_20240207_amd64.tar.xz
--2024-09-01 15:35:10-- http://download.proxmox.com/images/system/alpine-3.19-default_20240207_amd64.tar.xz
Resolving download.proxmox.com (download.proxmox.com)... 212.224.123.70, 2a01:7e0:0:424::249
Connecting to download.proxmox.com (download.proxmox.com)|212.224.123.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2976220 (2.8M) [application/octet-stream]
Saving to: '/var/lib/vz/template/cache/alpine-3.19-default_20240207_amd64.tar.xz.tmp_dwnl.682457'
0K .. 100% 3.08M=0.9s
2024-09-01 15:35:11 (3.08 MB/s) - '/var/lib/vz/template/cache/alpine-3.19-default_20240207_amd64.tar.xz.tmp_dwnl.682457' saved [2976220/2976220]
calculating checksum...OK, checksum verified
download of 'http://download.proxmox.com/images/system/alpine-3.19-default_20240207_amd64.tar.xz' to '/var/lib/vz/template/cache/alpine-3.19-default_20240207_amd64.tar.xz' finished
Installed docker inside it according to the official instructions
https://wiki.alpinelinux.org/wiki/Docker#Installation
With these parameters:
Unprivileged container = Yes
Features: nesting=1
At the startup stage I get an error
Code:
alpine-test:~# service docker start
sh: error setting limit: Operation not permitted
* docker: unable to apply RC_ULIMIT settings
* Starting Docker Daemon ...
Here they suggest a fix
https://stackoverflow.com/questions...-container-unable-to-apply-rc-ulimit-settings
Code:
lxc config set <container> security.nesting true
How to fix this and where to do it?