- Install Docker on your system
To build the CUPS Docker image, follow these steps:
-
Clone this repository to your local machine.
-
Navigate to the root directory of the cloned repository.
-
Run the following command to build the Docker image:
docker build .
-
To create and run a container with the CUPS image:
docker-compose up -d
-
To start an interactive terminal in the container
docker exec -it cups /bin/bash
-
Use 'admin' as CUPS username and 'admin' as password.
-
You can find the CUPS configuration files and log files in the docker-config directory of the repository on your local machine. Any changes made to these files will be reflected in the CUPS service running inside the Docker container.
-
The CUPS web interface is accessible at http://localhost:631 from your web browser.