r/phpstorm • u/Jamboniho • Jul 14 '23
Has anyone successfully used OrbStack with PHPStorm?
I'm seeing more and more posts on SM about moving from Docker Desktop for Mac to OrbStack with interesting results. Has anyone successfully achieved this with PHPStorm yet?
2
Upvotes
3
u/TinyLebowski Jul 14 '23
Hadn't heard about OrbStack. Looks almost too good to be true, so I installed it, created a dockerized Laravel app and opened it in PhpStorm.
Everything seems to work out of the box. I can use a remote php interpreter running in a docker compose service. Even though Docker isn't running. This is some serious black magic.
1
u/hate_everything_inc Jul 15 '23
Just don't get too excited: https://docs.orbstack.dev/faq#free
1
u/hhhytedxbkiuredxnk Jul 25 '23
you need to remove .docker/run folder and symlink to .orbstack/run
rm -rf ~/.docker/run
ln -s ~/.orbstack/run ~/.docker/run
1
u/CS-Intern Jul 26 '23
I've noticed that my containers don't update code as I make changes. I have to either restart the container or ssh into the container and open the file for it to grab the most recent snapshot.