{"_id":"5a4afa3e32bc1c003cb3a0e6","project":"54e7fca9e6e77d1900ed11f0","version":{"_id":"5a1db098b15d1b001ebc5ef2","project":"54e7fca9e6e77d1900ed11f0","__v":1,"createdAt":"2017-11-28T18:53:12.270Z","releaseDate":"2017-11-28T18:53:12.270Z","categories":["5a1db098b15d1b001ebc5ef3","5a1db098b15d1b001ebc5ef4","5a1db098b15d1b001ebc5ef5","5a1db098b15d1b001ebc5ef6"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.2.0","version":"1.2"},"category":{"_id":"5a1db098b15d1b001ebc5ef3","version":"5a1db098b15d1b001ebc5ef2","project":"54e7fca9e6e77d1900ed11f0","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-02-21T03:34:02.028Z","from_sync":false,"order":0,"slug":"documentation","title":"Documentation"},"user":"54e7ff93c1c5e90d0048bd92","githubsync":"","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-01-02T03:19:26.821Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":999,"body":"[block:callout]\n{\n  \"type\": \"danger\",\n  \"body\": \"Some VPS providers use a technology called OpenVZ for their virtualization.\\n\\nOnly OpenVZ kernel version **042stab105.4** or higher support Docker. You can check your kernel version by running `uname -a`\\n\\nWe recommend using a KVM VPS or dedicated server if you are planning to use Docker.\\n\\nIf you don't know if your VPS is OpenVZ or not, run `test -e /proc/user_beancounters && echo This VPS is OpenVZ` and see if the message \\\"This VPS is OpenVZ\\\" prints out.\",\n  \"title\": \"Using Docker on an OpenVZ VPS\"\n}\n[/block]\nFirst, install Docker on the node.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -fsSL get.docker.com -o get-docker.sh\\nsh get-docker.sh\",\n      \"language\": \"shell\",\n      \"name\": null\n    }\n  ]\n}\n[/block]\nIf you are upgrading pufferd to v1.2, you will need to run the following commands to give the pufferd user access to Docker. If this is a new installation of PufferPanel or pufferd, this is not necessary.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"## Only run these commands if you are upgrading pufferd from v1.1\\nsudo groupadd --force --system docker\\nsudo usermod -a -G docker pufferd\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\nRestart pufferd for best results.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"systemctl restart pufferd\",\n      \"language\": \"shell\",\n      \"name\": \"Ubuntu 16.04 / Debian 8 / CentOS 7\"\n    },\n    {\n      \"code\": \"service pufferd restart\",\n      \"language\": \"shell\",\n      \"name\": \"Ubuntu 14.04\"\n    }\n  ]\n}\n[/block]","excerpt":"Please follow this guide in order to configure your system with Docker support for PufferPanel.","slug":"using-docker-with-pufferpanel","type":"basic","title":"Using Docker with PufferPanel"}

Using Docker with PufferPanel

Please follow this guide in order to configure your system with Docker support for PufferPanel.

[block:callout] { "type": "danger", "body": "Some VPS providers use a technology called OpenVZ for their virtualization.\n\nOnly OpenVZ kernel version **042stab105.4** or higher support Docker. You can check your kernel version by running `uname -a`\n\nWe recommend using a KVM VPS or dedicated server if you are planning to use Docker.\n\nIf you don't know if your VPS is OpenVZ or not, run `test -e /proc/user_beancounters && echo This VPS is OpenVZ` and see if the message \"This VPS is OpenVZ\" prints out.", "title": "Using Docker on an OpenVZ VPS" } [/block] First, install Docker on the node. [block:code] { "codes": [ { "code": "curl -fsSL get.docker.com -o get-docker.sh\nsh get-docker.sh", "language": "shell", "name": null } ] } [/block] If you are upgrading pufferd to v1.2, you will need to run the following commands to give the pufferd user access to Docker. If this is a new installation of PufferPanel or pufferd, this is not necessary. [block:code] { "codes": [ { "code": "## Only run these commands if you are upgrading pufferd from v1.1\nsudo groupadd --force --system docker\nsudo usermod -a -G docker pufferd", "language": "shell" } ] } [/block] Restart pufferd for best results. [block:code] { "codes": [ { "code": "systemctl restart pufferd", "language": "shell", "name": "Ubuntu 16.04 / Debian 8 / CentOS 7" }, { "code": "service pufferd restart", "language": "shell", "name": "Ubuntu 14.04" } ] } [/block]