I’m trying to create a Docker image with git-ftp so I can deploy to an sftp server. git-ftp requires git and curl compiled with libssh2, which is usually not included, so I found a Docker image from the curl devs which comes with sftp support: % docker run –rm curlimages/curl:7.79.1 –version curl 7.79.1-DEV (x86_64-pc-linux-musl) libcurl/7.79.1-DEV ..
My spring batch job running in a docker container reads data from DB and creates a flatfile. For now the file is created inside the container but when data is big, i want to create the flatfile in the remote SFTP location. What would be the best way to implement this without creating a physical ..
I am building software for an embedded device (Jetson TX2) with a low storage capacity, so I’d like to use SFTP or the like to host all intermediate data produced by docker on another device connected via LAN. I am trying to edit the daemon.json file’s "data-root" filed to be a sshfs mounted directory. Everything ..
When I type the following command: sftp -q -oPort=22022 -o StrictHostKeyChecking=no -i ~/.ssh/id_rsa [email protected]:geoinsights/data/ I authenticate. But when I do this: curl –insecure -u "username": –key ~/.ssh/id_rsa "sftp://target:22022/geoinsights/data/" I fail to authenticate. (curl 67 error) This is when I am executing from a script running on a docker image. But when I execute the second ..
What I am trying to achieve is this: I want to download an xml file from an SFTP server directly to a MemoryStream. I don’t particularly care if it is a MemoryStream or some other kind of object. The important part is that the file must NOT (even temporarily) touch the disk. The reason for ..
How to setup sftp to view and edit appsettings.json inside docker container how to specify "remotePath": "/", Source: Docker..
Recently I set-up an Nextcloud instance in form of two seperate Docker containers (one for the db and another for the nextcloud itself). Afterwards initial setup I installed/started the openssh-server & changed the shell for the www-data user (note: these containers are used locally and for testing only) to "/bin/bash" and changed the users password. ..
I am planning on running 20ish wordpress sites with docker by : Creating a docker environment. Provisioning a network within docker docker network create wordpressNetwork Running the Let’s Encrypt NGINX proxy companion Starting both a WordPress container + MariaDB container for each site. In this theory, my only issue comes towards data migration, where I ..
We are trying to create a custom FTP solution where external users can login via FTP/SFTP using key/password. Each user will have their separate restricted folder to upload/download files. We trigger Azure functions for these file transfer events to process the files further. For this purpose, we have tried a Linux VM based approach (using ..
I have been working on a file transfer feature. Our application is deployed with a Docker image on a hosting service called Aptible. The file transfer is currently implemented with SFTP and public key authentication. I am having a problem with Docker Containers generated based on the image because the containers do not start ssh-agent ..