Introduction to Docker: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 4: | Line 4: | ||
=== Hardware === | === Hardware === | ||
* Most robust level of separation. | |||
* Good option for clients who are large enough to warrant their own server anyway. | |||
=== Virtualisation === | === Virtualisation === | ||
* From the operating system point of view, almost the same as hardware (it is sometimes possible to work out that an OS is running on virtualised hardware as opposed to the physical hardware). | |||
=== Shared hosting === | === Shared hosting === | ||
* Separate by directories and users. | |||
* Causes problems if web server does not run as same user as the site owner. | |||
* Often possible to access other users' data via vulnerabilities, shared directories (e.g. <code>/tmp</code> for sessions). | |||
=== Containers === | === Containers === |
Revision as of 12:52, 26 September 2019
Talk to be given at ManLUG at some point in the future, possibly November 2019.
Separation of sites
Hardware
- Most robust level of separation.
- Good option for clients who are large enough to warrant their own server anyway.
Virtualisation
- From the operating system point of view, almost the same as hardware (it is sometimes possible to work out that an OS is running on virtualised hardware as opposed to the physical hardware).
- Separate by directories and users.
- Causes problems if web server does not run as same user as the site owner.
- Often possible to access other users' data via vulnerabilities, shared directories (e.g.
/tmp
for sessions).
Containers
- Sits between shared hosting and virtualisation
Installing Docker
- Use the upstream repositories rather than your distribution, as new versions are released frequently.
docker help
- like many command line tools, Docker offers general help as well as specific subcommands