Docker image to build vmods for varnish Build and Run docker build -t vmodbuild . docker run --rm vmodbuild /bin/bash Copy the files to someplace from within the image cd /root/rpmbuild/RPMS/x86_64/ scp * <to someplace nice>