I prefer lxc and have to deal with software whos developers only publish docker containers. I wasn't asking you specifically for help, and none of the scenarios you describe apply.
Tested it myself, the lxc-create $name -t oci -- --url $docker_url command doesn't import the container to proxmox, but does create a rootfs at /var/lib/lxc/$name/rootfs. You need to install skopeo umoci jq for that to work, which are all available from the standard debian repos. From there, you...
Can anyone confirm if the lxc-create -t oci command imports the container to Proxmox? As far as I know, proxmox doesn't use the lxc cli, it has it's own container framework based on the lxc feature in the linux kernel rather than the existing userspace tools.
For anyone else who ends up here off a google search for this issue, here's a systemd script you can use since the regular mount dependency mechanisms don't work with proxmox managed mounts
[Unit]
Description=Change cifs mount options
[Service]
Type=oneshot
Environment=MOUNT=/etc/pve/mount-name...
Since this is the first result when googling "proxmox dhcp", I thought I'd dump some info here on this. First, the interfaces file:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto vmbr0
iface vmbr0 inet dhcp
bridge-ports eth0
Secondly, this script I wrote for setting...
I have solved the issue by adding overlay to /etc/modules and moving the overlay mount from the host to the container's /etc/fstab. Another thing of note is that the noauto,x-systemd.automount option caused the container to hang indefinitely on startup, so I had to go without it.
I did not have a proc entry to speak of in my fstab. Adding it doesn't seem to have changed anything. I also tried changing my storage mount options to defaults, and that also didn't seem to help. I think the only extra software installed on the host should be nvidia drivers and tuned. Stopping...
Running proxmox 7.1-8, Last night all my containers were working fine, this morning I rebooted the server and got this on all of them:
safe_mount: 1200 Invalid argument - Failed to mount "/media/hdd" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/media/hdd"
mount_entry: 2406 Invalid argument -...
Also, is there any built in support for automatic daily backups? I obviously don't have access to the UI right now but I don't see any documentation about it on the backup and restore wiki page.
apologies if I'm posting in the wrong place. I'm not sure what's happening or how to diagnose this but my server is hanging after spitting out the usual boot messages. There's no login prompt even if I switch to another tty and I can't access it or any vms remotely. It will boot into recovery...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.