Jump to content

Docker on Mac?

Go to solution Solved by Zagna,

For Wordpress development on Mac, Local, DevKinsta or Valet are great choices.

Hey,so I need to run php in docker container on a Mac. However I have never installed docker before and I was wondering, first what does docker install except itself. Does it install any extra apps? Like virtual box? I have heard something like that? Second if I do decide to install it and I need to run php and I get it form a docker image I a docker container will it be available for the rest of my system outside of the docker? Will Wordpress be able to use it if it's outside of the docker container? 

Link to comment
https://linustechtips.com/topic/1413198-docker-on-mac/
Share on other sites

Link to post
Share on other sites

If you're this worried about cluttering up your Mac, and you're just using this for development purposes, you might as well just run a Linux virtual machine. Then you know everything will be contained within the VM except the hypervisor.

 

https://www.virtualbox.org/

 

There are pre-packaged appliance distributions that have everything you need pre-installed:

https://www.turnkeylinux.org/lamp

 

Or you can install Ubuntu then add the LAMP stack onto it:

https://ubuntu.com/server/docs/lamp-applications

 

I sold my soul for ProSupport.

Link to comment
https://linustechtips.com/topic/1413198-docker-on-mac/#findComment-15271332
Share on other sites

Link to post
Share on other sites

12 minutes ago, Needfuldoer said:

If you're this worried about cluttering up your Mac, and you're just using this for development purposes, you might as well just run a Linux virtual machine. Then you know everything will be contained within the VM except the hypervisor.

 

https://www.virtualbox.org/

 

There are pre-packaged appliance distributions that have everything you need pre-installed:

https://www.turnkeylinux.org/lamp

 

Or you can install Ubuntu then add the LAMP stack onto it:

https://ubuntu.com/server/docs/lamp-applications

 

yeah but I want to run it on my Mac not in a linux vm without cluttering my Mac. Is docker the best option? Or should I use mamp?

Link to comment
https://linustechtips.com/topic/1413198-docker-on-mac/#findComment-15271351
Share on other sites

Link to post
Share on other sites

Just now, Zagna said:

Local and Valet are just Mac apps, DevKinsta uses Docker. None of them are linux VMs.

So I checked out Local so it's just a free app? And it uses a local server or their servers? So you just install the app without anything else and that's it?

Link to comment
https://linustechtips.com/topic/1413198-docker-on-mac/#findComment-15271354
Share on other sites

Link to post
Share on other sites

1 minute ago, stefanmz said:

So I checked out Local so it's just a free app? And it uses a local server or their servers? So you just install the app without anything else and that's it?

Free app, runs on your machine. It contains NginX/Apache, PHP and MySQL/MariaDB.

Link to comment
https://linustechtips.com/topic/1413198-docker-on-mac/#findComment-15271360
Share on other sites

Link to post
Share on other sites

Just now, Zagna said:

Free app, runs on your machine. It contains NginX/Apache, PHP and MySQL/MariaDB.

Cool well Apache is already built in but I need the rest of that stuff. And there is no free trial and subscriptions? Just free? Wow,then I am getting it that's awesome, and it supports multiple sites without the hassle of setting up multiple Wordpress installations

Link to comment
https://linustechtips.com/topic/1413198-docker-on-mac/#findComment-15271363
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×