{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"Using Docker with PufferPanel","type":"basic","slug":"using-docker-with-pufferpanel","excerpt":"Please follow this guide in order to configure your system with Docker support for PufferPanel.","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]","updates":[],"order":8,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5a4afa3e32bc1c003cb3a0e6","project":"54e7fca9e6e77d1900ed11f0","version":{"version":"1.2","version_clean":"1.2.0","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"categories":["5a1db098b15d1b001ebc5ef3","5a1db098b15d1b001ebc5ef4","5a1db098b15d1b001ebc5ef5","5a1db098b15d1b001ebc5ef6"],"_id":"5a1db098b15d1b001ebc5ef2","project":"54e7fca9e6e77d1900ed11f0","createdAt":"2017-11-28T18:53:12.270Z","releaseDate":"2017-11-28T18:53:12.270Z","__v":1},"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Documentation","slug":"documentation","order":0,"from_sync":false,"reference":false,"_id":"5a1db098b15d1b001ebc5ef3","version":"5a1db098b15d1b001ebc5ef2","project":"54e7fca9e6e77d1900ed11f0","createdAt":"2015-02-21T03:34:02.028Z","__v":0},"user":"54e7ff93c1c5e90d0048bd92","createdAt":"2018-01-02T03:19:26.821Z","githubsync":"","__v":0,"parentDoc":null}

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]