Category "mount"

How containerd copy a file from host to a running container?

I find that I can use ctr snapshot mount to copy a file from a container to a host. But how can I copy a file from a host to the container using containerd? I u

Node.js manage SMB mounts

How could I check on an ubuntu system the mounted drives from a Node.js app? I would like to check if a specific drive is mounted, and if not mount it. The comm

How to check if /tmp and /proc filesysystems are mounted in a chrooted environment?

I have already tried mounting the filesystems without checking like this: sudo -- mount -t proc /proc $chroot_dir/proc sudo -- mount --bind /tmp $chroot_dir/tmp

Why does Systemd_Wants not pass a parameter to a service file from a udev "Remove" rule?

I am trying to use udev rules and systemd to mount and unmount a USB key. I am basing my solution below on an example from this blog where ENV{SYSTEMD_WANTS} is

Processing a LOG file on an automounted CIFS host, which is frequently turned OFF

So I am new to Ubuntu and I have some log files on a windows machine, which I should process frequently. On my ubuntu server there is a service which watches fo

The `mount --bind` command fail in Docker container on Ubuntu

In my application on Ubuntu 20.04, I need to execute the following commands due to mount directories for chroot: % execute outside the Docker container # cd /tm

The `mount --bind` command fail in Docker container on Ubuntu

In my application on Ubuntu 20.04, I need to execute the following commands due to mount directories for chroot: % execute outside the Docker container # cd /tm

Wait to start Docker Stack until Filesystem is mounted

I have a problem with my nextcloud docker stack. I run fsck on every boot of my system. So the volume in the stack is not yet mounted when the stack starts. Is

cannot mount NFS share on my Mac PC to minikube cluster

Problem To make k8s multinodes dev env, I was trying to use NFS persistent volume in minikube with multi-nodes and cannot run pods properly. It seems there's so