https://github.com/gewoonjaap/exiftool-docker
Easily run ExifTool in a lightweight Docker container.
https://github.com/gewoonjaap/exiftool-docker
docker easy exiftool exiftool-docker lightweight
Last synced: over 1 year ago
JSON representation
Easily run ExifTool in a lightweight Docker container.
- Host: GitHub
- URL: https://github.com/gewoonjaap/exiftool-docker
- Owner: GewoonJaap
- Created: 2024-08-29T12:14:58.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-12T01:16:37.000Z (over 1 year ago)
- Last Synced: 2025-03-12T02:26:49.986Z (over 1 year ago)
- Topics: docker, easy, exiftool, exiftool-docker, lightweight
- Language: Dockerfile
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ExifTool CLI Docker Container
[](https://github.com/GewoonJaap/exiftool-docker/actions/workflows/publish.yml)
This repository provides a Docker container for the ExifTool CLI, allowing you to interact with the ExifTool CLI without installing it on your machine.
## Prerequisites
- Docker installed on your machine.
## Building the Docker Image (OPTIONAL)
To build the Docker image, run the following command:
```sh
docker build --build-arg TARGETARCH=$(uname -m) -t exiftool-docker:latest .
```
This command will build the Docker image for the appropriate architecture (amd64, arm, or arm64).
## Running the Docker Container
- Run the docker container with the following command:
```sh
docker run -it -v :/data ghcr.io/gewoonjaap/exiftool-docker:latest
```
This command will run the ExifTool CLI in the Docker container and mount the desired directory to the `/data` directory in the container.
Now attach a console to the Docker container and run the ExifTool CLI commands as you would on your local machine.
### Example command
You can replace `/data` with any other direction you want.
The `exiftool` executable is available in the container, in the exiftool/ folder, so you can run any ExifTool CLI command you would like.
```sh
cd exiftool
./exiftool "-FileCreateDate