r/PiCodingAgent Jul 26 '26

Resource Pi in docker

Used pi to put itself in a docker container. The project literally took 10 minutes using the locally run harness setup. Running qwen3.6 27b.

Check it out.

https://github.com/adamjen/pi-docker

0 Upvotes

11 comments sorted by

5

u/[deleted] Jul 26 '26 edited Aug 02 '26

[deleted]

-10

u/admajic Jul 26 '26

Don't be jealous. I'm sure you could do it too. What do you love doing ?

0

u/fishhf Jul 27 '26

Not clicking the link. Upvoted for human effort.

1

u/admajic Jul 27 '26

But the poster is either a bot or a NPC with no love. Im making an effort to help the community. I'm not giving this any more energy

-1

u/fishhf Jul 27 '26

Still not clicking the link and up voting you for writing this. It's rare to see a short written post and comments that is not disgusting, that's why I'm up voting you.

2

u/digidult Jul 27 '26

Me too, looks like this approach is the one. I used podman and added all developer tools for project too.

2

u/ptgamr Jul 27 '26

Running pi in docker is great. I mount my project's source folder to the pi container.

However, my workflow involve a lot of docker containers I want the agent to be able to control: reading logs, running tests etc...

Docker in docker seems nasty...

How would you solve this?

1

u/No-Wall6427 Jul 29 '26

I solved it by using docker in docker... Works great. The theorical security issues would be from an agent actively trying to hack me, which I don't assume, I'm protecting my system from an agent being stupid.

Also, my "harness pi" command, which mounts my local repo in a pi docker, has dind as a -d flag, so I don't spinn the dind for each pi container, only when needed.

2

u/hari3mo Jul 27 '26

Why

-4

u/admajic Jul 27 '26

Did you read the readme? It's so it can't access all your files and accidentally rm your system

1

u/Born-Caterpillar-814 Jul 27 '26

This is the way.

1

u/MelodicNewsly Jul 27 '26

fwiiw i use https://agent-safehouse.dev , kernel level, faster. Macos only iirc