Upload a file from a host filesystem to a running Docker container
The best way to do this is probably via docker volumes. For dokku, check out dokku-persistent-storage
But here's a quick hack using netcat anyway.
Assuming we've found the container ID (e.g.: via docker ps
):
$ CID=f7a29d6dc8e4