arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create Docker's container and enter its shell [Basic container for any-usage]
#9
(06-07-2021, 04:51 PM)LightDestory Wrote: Thanks for your time replying this post, but please read Mashiro's post too to understand the nature of this topic.

[quote="LightDestory"
[...]

Do you except a someone new to Docker, as @deanhills, to master the concepts of persistents volumes, internal networking and container composition with docker-compose on a simple forum's post? There skills need time to master and a lot of try-and-error to get the confidance to get them work without any issue. Copy-paste a configuration from github will make it works but you will have 0 knowledge on how it is working. If you somedays want to build something different, such as a data pipeline where a LOT of software need to communicate, you will need the knowledge!

If I wanted to do a complete tutorial of WP+Mysql on Docker I would not do much on writing it. Because github is FULL of composition for this stack, moreover Mashiro has already wrote about portainerio and it has a stack template for WP. I would suggest use Portainer and learn how it configures that stack, it creates a internal networks and has good healtycheck for the containers.

@LightDestory I totally agree with your points.  I also appreciate @fChk's contribution in that he highlighted the security issues with the simple container version.  My understanding from what he contributed is that if you want to do Docker as it is intended to be used, a VPS is probably not the right vehicle for it.  Possibly it's OK with our large spec VPSs like VPS 9.  But for smaller VPSs one would save a lot of resources and also it would be more secure to work from the command line, rather than install containers from the Docker repository.
Terminal
Thank you to Post4VPS and VirMach for my awesome VPS 9!  




person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting