Sign inSign up

aminnairi/pdfunite

By aminnairi

•Updated over 5 years ago

Poppler's pdfunite in a Docker image

Image
0

640

aminnairi/pdfunite repository overview

⁠docker-pdfunite

⁠Summary

⁠Requirements

⁠Installation

$ docker pull aminnairi/pdfunite:latest

⁠Uninstallation

$ docker rmi aminnairi/pdfunite

⁠Usage

⁠Docker
$ docker run -v "$PWD":/home/pdfunite aminnairi/pdfunite first.pdf second.pdf output.pdf

If you want to change the output of the final merged file, use the last file name. For instance, if you want to name your output project.pdf.

$ docker run -v "$PWD":/home/pdfunite aminnairi/pdfunite introduction.pdf content.pdf conclusion.pdf project.pdf

You can have unlimited files before the output. The exemple shows two to three files but you can merge even more.

$ docker run -v "$PWD":/home/pdfunite aminnairi/pdfunite 1.pdf 2.pdf 3.pdf 4.pdf 5.pdf output.pdf
⁠Docker Compose
$ touch docker-compose.yaml
version: "3"

services:
  pdfunite:
    image: aminnairi/pdfunite:latest
    volumes:
      - .:/home/pdfunite
$ docker-compose run --rm pdfunite first.pdf second.pdf output.pdf

⁠License

See LICENSE⁠.

⁠Contributing

See CONTRIBUTING.md⁠.

Tag summary

Content type

Image

Digest

Size

10.8 MB

Last updated

over 5 years ago

docker pull aminnairi/pdfunite