Skip to content
This repository has been archived by the owner on Nov 22, 2020. It is now read-only.
/ mount.cifs_copy Public archive

Docker container that copies fedora's mount.cifs to the host

License

Notifications You must be signed in to change notification settings

pschmitt/mount.cifs_copy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mount.cifs for CoreOS Container Linux

Usage

docker run -it --rm -v /opt/bin:/target pschmitt/mount.cifs_copy

Mount Hetzner Storage Box

[Unit]
Description=Mount Storage Box
After=network.target

[Service]
Type=oneshot
RemainAfterExit=yes
TimeoutStartSec=0
Environment=BOX_USERNAME=uXXXXXX
Environment=BOX_PASSWORD=XXXXXXX
Environment=BOX_MOUNTPOINT=/mnt/storagebox
ExecStartPre=/usr/bin/docker run -v /opt/bin:/target pschmitt/mount.cifs_copy
ExecStart=/opt/bin/mount.cifs -o user=${BOX_USERNAME},pass=${BOX_PASSWORD},x-systemd.device-timeout=30,_netdev //${BOX_USERNAME}.your-storagebox.de/backup ${BOX_MOUNTPOINT}
ExecStop=/usr/bin/umount ${BOX_MOUNTPOINT}

[Install]
WantedBy=multi-user.target

Alternatives and similar work

About

Docker container that copies fedora's mount.cifs to the host

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published