I have been fiddling with trying to build a Dockerfile and container for the following.
A Alpine Linix image with LFTP, cron, & openssh installed for use with my external server to sync folders.
I have a Alpine Linix VM that I connect with a external server using SSH keys, and a cron task running a LFTP script on schedule.
Any help or pointing me at a container you know of is appreciated.
You could create one. Learning how to put together your own Docker images is a rush.
I have been fiddling with trying to build a Dockerfile and container
whyYou can create initful container (don’t know if it possible with alpine) and run as many services inside it as you desire. Crons are pretty clunky inside containers and it’s a lot easier to just run them from host usingdocker/podman container exec
, writing containerfiles is pretty easy as well.Since I started using xPipe, everything looks like a nail.
Not sure if it is part of the free tier, but you can use xPipe to ssh directly into a docker container, on a remote server or on the local machine.