Skip to content

Instantly share code, notes, and snippets.

@Razikus
Razikus / script.sh
Created January 25, 2018 08:19
Create id_rsa and id_rsa.pub, force overwrite existing key
echo -e 'y\n' | ssh-keygen -f $HOME/.ssh/id_rsa -t rsa -N ''
import tarfile
import uuid
import StringIO
import docker
def main():
client = docker.from_env()
container = client.containers.get(uuidOfContainer)
toSave = "blablabla"