dangerzone as a docker on the server? #828
Replies: 6 comments 6 replies
-
Sorry for the delayed response, there are lots of stuff to unpack here, and the question is actually very exciting!
Yes! We already do this for our CI tests. If you are comfortable with the concept of nested containers, you can take a look at our env.py script, which runs Dangerzone within a container. Still, I'm not sure if that's the way to go forward. More on that below.
The issue with Dangerzone is that it's a desktop app, not a web one. So, there is no network service that you can expose and send documents to it. We have an open issue for that actually: #110
If you have licensing concerns, and you have predominantly macOS users, you can take a look at Colima. Your users can install Dangezone and Colima at their machine, and the conversions should work. |
Beta Was this translation helpful? Give feedback.
-
@apyrgio I had the same question as @r-gorajski basically. Wanting to be able to run Dangerzone without the requirement of a full blown local Docker Desktop install. My testbed is an M1 Mac Mini running macOS 15.0.1, with But Dangerzone (0.7.1) still says I need Docker Desktop. Am I doing something wrong here? Thanks 🙏 Some info...
$ brew services info colima --json [
{
"name": "colima",
"service_name": "homebrew.mxcl.colima",
"running": true,
"loaded": true,
"schedulable": false,
"pid": 22657,
"exit_code": 0,
"user": "luke",
"status": "started",
"file": "/Users/luke/Library/LaunchAgents/homebrew.mxcl.colima.plist",
"command": "/opt/homebrew/opt/colima/bin/colima start -f",
"working_dir": "/Users/luke",
"root_dir": null,
"log_path": "/opt/homebrew/var/log/colima.log",
"error_log_path": "/opt/homebrew/var/log/colima.log",
"interval": null,
"cron": null
}
] |
Beta Was this translation helpful? Give feedback.
-
Dig more digging... @r-gorajski I cloned the repo and ripgrep'd through it looking for any evidence of dangerzone/dangerzone/isolation_provider/container.py Lines 42 to 48 in a001b54 on macOS it would be 'docker'. Even though I do have docker installed (via Homebrew) it isn't detected, because I guess Dangerzone doesn't add @apyrgio any idea where to go next with this? |
Beta Was this translation helpful? Give feedback.
-
Oh wow! I just needed to wait a little longer for colima engine to start up apparently. It's up and running now! 🚀 (without Docker Desktop) |
Beta Was this translation helpful? Give feedback.
-
Well, now I've gotten stuck. Tried to test the |
Beta Was this translation helpful? Give feedback.
-
I don't know how it compares (if at all) but Stirling PDF has a sanitize-pdf feature that appears to be powered by apache pdfbox. Stirling PDF has a docker container but its more of a general tool/collection of tools so is likely a lot larger than dangerzone. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to run dangerzone as a container on an existing Ubuntu/Docker server?
I work in an organization with many users, and I want to give them a simple and fast tool to:
I can't implement dangerzone as a Docker Desktop because it's not free for users other than individuals.
Therefore, I thought to run a new container with dangerzone on the Docker server I have, so that it is visible as an intranet site www.xyz:8080
The user, upon accessing the site, would upload a PDF file, check the threat, and be able to anonymize the PDF file.
Is this even possible?
I understand the idea of Docker Desktop and cutting off the network. But as I mentioned above I can't use Docker Desktop :(
Thank you in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions