Move apt-cacher-ng from Synology Virtual Machine to Synology Docker

In this video, I transfer apt-cacher-ng cache data from a virtual machine on a Synology NAS to a Docker container on a Synology NAS.

Ubuntu apt-cacher-ng Package Cache Install and Setup: https://youtu.be/t8kI4YwdvRA

Installing apt-cacher-ng on Synology Docker: https://youtu.be/zlbN5kWbzVE

Synology Playlist: https://www.youtube.com/playlist?list=PLErU2HjQZ_ZPL8Yx7FxnY6xKxcMiVWkkJ

Cleaning Kayak with Super Clean and Protecting with 303

Playlist: https://www.youtube.com/playlist?list=PLErU2HjQZ_ZOQuTFU4tL3xxYC8MzW-ofg

Super Clean (Amazon Affiliate)
US: https://amzn.to/2MbbPBV

303 Aerospace Protectant, UV Protectant for Boats and Patio Furniture (Amazon Affiliate)
US: https://amzn.to/2CG8QN2
UK: https://amzn.to/2ZBC4YB
CA: https://amzn.to/2CepUg7
ES: https://amzn.to/2Z30VW8
FR: https://amzn.to/2ABhvTB
IT: https://amzn.to/2ChjwER
DE: https://amzn.to/2BSnpjP
IN: https://amzn.to/2Dn2Hcp
AU: https://amzn.to/2Dg7NXK

Plastic Sawhorses (Amazon Affiliate)
US: https://amzn.to/3ilnoVm

Magic Eraser (Amazon Affiliate)
US: https://amzn.to/2XzkZ1l

Accessing exFAT on Synology NAS for Free using VM

In this video I go over a technique to mount an exFAT formatted flash drive and a Synology NAS share in an Ubuntu virtual machine so files can be copied between the two directories.

Installing Ubuntu (Mini) on Synology Virtual Machine Manager: https://youtu.be/AQBf-BUswkg

Access Files (using SMB) on the Synology NAS from a Virtual Machine on the Synology NAS: https://youtu.be/afHieDHizjc

Synology Playlist: https://www.youtube.com/playlist?list=PLErU2HjQZ_ZPL8Yx7FxnY6xKxcMiVWkkJ

List Partitions
sudo fdisk -l
Create Flash Drive Mount Point
sudo mkdir /media/flashdrive
Install exFAT Software
sudo apt install exfat-fuse exfat-utils
Mount Flash Drive
sudo mount -t auto /dev/sdxX /media/flashdrive
Create Synology NAS Share Mount Point
sudo mkdir /mnt/ShareName
Install CIFS Software
sudo apt install cifs-utils
Mount Synology NAS Share
sudo mount.cifs -o user=username,uid=userid,gid=groupid //ip_address_of_nas/ShareName/ /mnt/ShareName
Copy File from NAS to exFAT Flash Drive
cp /mnt/ShareName/filename.ext /media/flashdrive
Copy File from exFAT Flash Drive to NAS
cp /media/flashdrive/filename.ext /mnt/ShareName
Copy Files Recursively
cp -r source destination

Installing apt-cacher-ng on QNAP Container Station (Docker)

Apt Package Caching using apt-cacher-ng on a Raspberry Pi: https://youtu.be/Vvw-IyiwXGE

Using apt-cacher-ng During an Ubuntu Graphical Install: https://youtu.be/iKfavpv70x4

Ubuntu apt-cacher-ng Package Cache Install and Setup: https://youtu.be/t8kI4YwdvRA

Installing apt-cacher-ng on Synology Docker: https://youtu.be/zlbN5kWbzVE

QNAP Playlist: https://www.youtube.com/playlist?list=PLErU2HjQZ_ZPX505_znSLtZE7Z42m6DEK

Docker Hub Page

https://registry.hub.docker.com/r/sameersbn/apt-cacher-ng/

Notes

Network > Port Forwarding:
Host: 3142
Container: 3142
Protocol: tcp

Volume from host:
Host Path: /Container/apt-cacher-ng
Mount Point: /var/cache/apt-cacher-ng

apt-cacher-ng Web Interface
http://ip_address_of_nas:3142
Configure Client
sudo nano /etc/apt/apt.conf.d/00aptproxy
Acquire::http::Proxy "http://ip_address_of_nas:3142";

Type control-o to save, control-x to exit.