Last active
April 12, 2018 22:10
-
-
Save lamlion/ee5ab136c6d380f291d598438e6b1851 to your computer and use it in GitHub Desktop.
Useful single docker commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install Docker on ARM: | |
https://docs.docker.com/install/linux/docker-ce/debian/ | |
Compile docker-compose on ARM: | |
$ git clone https://github.com/docker/compose.git | |
$ cd compose | |
$ git checkout release | |
$ docker build -t docker-compose:armhf -f Dockerfile.armhf . | |
$ docker run --rm --entrypoint="script/build/linux-entrypoint" -v $(pwd)/dist:/code/dist -v $(pwd)/.git:/code/.git "docker-compose:armhf" | |
# Bash autocomplete | |
$ curl -L https://raw.githubusercontent.com/docker/compose/$(docker-compose version --short)/contrib/completion/bash/docker-compose -o /etc/bash_completion.d/docker-compose | |
Commmands | |
docker run -v "$(pwd):/tmp" openlabs/docker-wkhtmltopdf <source_url> /tmp/output.pdf | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment