{"id":124649,"date":"2026-04-22T15:18:18","date_gmt":"2026-04-22T08:18:18","guid":{"rendered":"https:\/\/tino.vn\/blog\/?p=124649"},"modified":"2026-10-27T13:22:11","modified_gmt":"2026-10-27T06:22:11","slug":"cai-dat-hermes-agent-tren-docker","status":"publish","type":"post","link":"https:\/\/tino.vn\/blog\/cai-dat-hermes-agent-tren-docker\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn c\u00e0i \u0111\u1eb7t Hermes Agent tr\u00ean Docker \u0111\u01a1n gi\u1ea3n"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>C\u00f3 hai c\u00e1ch c\u00e0i Hermes Agent v\u1edbi Docker: ch\u1ea1y c\u1ea3 Hermes trong container t\u1eeb image ch\u00ednh th\u1ee9c <code>nousresearch\/hermes-agent<\/code>, ho\u1eb7c c\u00e0i Hermes tr\u00ean VPS r\u1ed3i \u0111\u1eb7t <code>terminal.backend: docker<\/code> \u0111\u1ec3 m\u1ecdi l\u1ec7nh agent ch\u1ea1y trong container c\u00f4 l\u1eadp.<\/strong> B\u00e0i n\u00e0y h\u01b0\u1edbng d\u1eabn chi ti\u1ebft c\u00e1ch th\u1ee9 hai theo t\u1eebng b\u01b0\u1edbc c\u00f3 \u1ea3nh, v\u00e0 t\u00f3m t\u1eaft l\u1ec7nh cho c\u00e1ch th\u1ee9 nh\u1ea5t.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u1ec3 v\u1eadn h\u00e0nh <a href=\"https:\/\/tino.vn\/blog\/hermes-agent-la-gi\/\">Hermes Agent<\/a> an to\u00e0n, Docker gi\u00fap c\u00e1ch ly ti\u1ebfn tr\u00ecnh v\u00e0 gi\u1edbi h\u1ea1n quy\u1ec1n truy c\u1eadp v\u00e0o h\u1ec7 th\u1ed1ng m\u00e1y ch\u1ee7. B\u00e0i thu\u1ed9c nh\u00f3m <a href=\"https:\/\/tino.vn\/blog\/cai-dat-va-su-dung-hermes-agent-tren-vps\/\">h\u01b0\u1edbng d\u1eabn c\u00e0i \u0111\u1eb7t v\u00e0 s\u1eed d\u1ee5ng Hermes Agent tr\u00ean VPS<\/a>. C\u00f9ng Tino t\u00ecm hi\u1ec3u c\u00e1ch c\u00e0i \u0111\u1eb7t Hermes Agent tr\u00ean Docker qua b\u00e0i vi\u1ebft d\u01b0\u1edbi \u0111\u00e2y nh\u00e9!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>C\u1eadp nh\u1eadt 10\/2026: Hermes Agent hi\u1ec7n c\u00f3 image Docker ch\u00ednh th\u1ee9c <a href=\"https:\/\/hub.docker.com\/r\/nousresearch\/hermes-agent\" target=\"_blank\" rel=\"noopener nofollow\">nousresearch\/hermes-agent<\/a>, \u0111\u01b0\u1ee3c x\u1ebfp v\u00e0o nh\u00f3m h\u1ed7 tr\u1ee3 ch\u00ednh (Tier 1) tr\u00ean <a href=\"https:\/\/hermes-agent.nousresearch.com\/docs\/getting-started\/platform-support\" target=\"_blank\" rel=\"noopener nofollow\">trang Platform Support<\/a>. B\u1ea3n Hermes hi\u1ec7n h\u00e0nh: v0.22.5 (23\/10\/2026).<\/em><\/p>\n\n\n\n<h2 id=\"Vai_tr\u00f2_c\u1ee7a_Docker_trong_Hermes_Agent\">Vai tr\u00f2 c\u1ee7a Docker trong Hermes Agent<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Docker tham gia v\u00e0o Hermes Agent theo hai vai: l\u00e0m n\u01a1i ch\u1ea1y to\u00e0n b\u1ed9 Hermes (image ch\u00ednh th\u1ee9c), ho\u1eb7c l\u00e0m terminal backend, t\u1ee9c m\u00f4i tr\u01b0\u1eddng sandbox \u0111\u1ec3 Hermes th\u1ef1c thi l\u1ec7nh terminal trong container thay v\u00ec ch\u1ea1y th\u1eb3ng tr\u00ean h\u1ec7 th\u1ed1ng ch\u00ednh. Hai vai kh\u00e1c nhau \u1edf ch\u1ed7 ti\u1ebfn tr\u00ecnh Hermes v\u00e0 file API key n\u1eb1m trong hay ngo\u00e0i container.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1400\" height=\"750\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cai-dat-hermes-agent-tren-docker-hai-cach.webp\" alt=\"Hai c\u00e1ch d\u00f9ng Docker v\u1edbi Hermes Agent: c\u00e1ch 1 Hermes ch\u1ea1y trong container nousresearch\/hermes-agent mount ~\/.hermes v\u00e0o \/opt\/data; c\u00e1ch 2 Hermes c\u00e0i tr\u00ean host, l\u1ec7nh terminal ch\u1ea1y trong m\u1ed9t container sandbox qua docker exec\" class=\"wp-image-132364\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cai-dat-hermes-agent-tren-docker-hai-cach.webp 1400w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cai-dat-hermes-agent-tren-docker-hai-cach-300x161.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cai-dat-hermes-agent-tren-docker-hai-cach-1024x549.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cai-dat-hermes-agent-tren-docker-hai-cach-768x411.webp 768w\" sizes=\"(max-width: 1400px) 100vw, 1400px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Tr\u01b0\u1edbc khi b\u1eaft tay v\u00e0o c\u00e0i \u0111\u1eb7t, c\u1ea7n n\u1eafm r\u00f5 ki\u1ebfn tr\u00fac \u0111\u1ec3 kh\u00f4ng b\u1ecb nh\u1ea7m l\u1eabn trong qu\u00e1 tr\u00ecnh c\u1ea5u h\u00ecnh. Ph\u1ea7n d\u01b0\u1edbi \u0111\u00e2y n\u00f3i v\u1ec1 vai terminal backend.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Kh\u00f4ng d\u00f9ng Docker backend (m\u1eb7c \u0111\u1ecbnh):<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">B\u1ea1n nh\u1eafn tin \u2192 Hermes nh\u1eadn l\u1ec7nh \u2192 Hermes ch\u1ea1y l\u1ec7nh terminal TR\u1ef0C TI\u1ebeP tr\u00ean VPS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00e1ch n\u00e0y ho\u1ea1t \u0111\u1ed9ng b\u00ecnh th\u01b0\u1eddng nh\u01b0ng ti\u1ec1m \u1ea9n r\u1ee7i ro: n\u1ebfu Hermes th\u1ef1c thi nh\u1ea7m m\u1ed9t l\u1ec7nh nguy hi\u1ec3m, h\u1eadu qu\u1ea3 t\u00e1c \u0111\u1ed9ng th\u1eb3ng l\u00ean h\u1ec7 th\u1ed1ng.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/cai-dat-hermes-agent-tren-docker-1.png\" alt=\"Vai tr\u00f2 c\u1ee7a Docker trong Hermes Agent\" class=\"wp-image-124672\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/cai-dat-hermes-agent-tren-docker-1.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/cai-dat-hermes-agent-tren-docker-1-300x161.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Khi d\u00f9ng Docker backend:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">B\u1ea1n nh\u1eafn tin \u2192 Hermes nh\u1eadn l\u1ec7nh \u2192 Hermes chuy\u1ec3n l\u1ec7nh v\u00e0o container sandbox b\u1eb1ng <code>docker exec<\/code> \u2192 L\u1ec7nh ch\u1ea1y trong container \u2192 Hermes l\u1ea5y k\u1ebft qu\u1ea3.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">V\u1edbi c\u1ea5u h\u00ecnh Docker backend, l\u1ec7nh terminal, thao t\u00e1c file v\u00e0 <code>execute_code<\/code> c\u1ee7a Hermes \u0111\u1ec1u ch\u1ea1y b\u00ean trong container. N\u1ebfu l\u1ec7nh g\u00e2y ra s\u1ef1 c\u1ed1, ph\u1ea7n b\u1ecb \u1ea3nh h\u01b0\u1edfng l\u00e0 container, kh\u00f4ng ph\u1ea3i h\u1ec7 \u0111i\u1ec1u h\u00e0nh c\u1ee7a VPS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>C\u1eadp nh\u1eadt 10\/2026: theo <a href=\"https:\/\/hermes-agent.nousresearch.com\/docs\/user-guide\/configuration#docker-backend\" target=\"_blank\" rel=\"noopener nofollow\">t\u00e0i li\u1ec7u Docker Backend<\/a>, Hermes t\u1ea1o m\u1ed9t container ch\u1ea1y l\u00e2u d\u00e0i v\u00e0 d\u00f9ng l\u1ea1i cho m\u1ecdi l\u1ec7nh, m\u1ecdi phi\u00ean v\u00e0 subagent, kh\u00f4ng t\u1ea1o r\u1ed3i xo\u00e1 container sau t\u1eebng l\u1ec7nh. Mu\u1ed1n m\u1ed7i phi\u00ean m\u1ed9t container m\u1edbi, \u0111\u1eb7t <code>container_persistent: false<\/code> nh\u01b0 trong b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/thiet-lap-docker-sandbox-cho-hermes-agent\/\">thi\u1ebft l\u1eadp Docker sandbox cho Hermes Agent<\/a>.<\/em><\/p>\n\n\n\n<h2 id=\"C\u00e1ch_c\u00e0i_\u0111\u1eb7t_Hermes_Agent_tr\u00ean_Docker_(Docker_l\u00e0m_terminal_backend)\">C\u00e1ch c\u00e0i \u0111\u1eb7t Hermes Agent tr\u00ean Docker (Docker l\u00e0m terminal backend)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00e0i Hermes Agent v\u1edbi Docker backend g\u1ed3m s\u00e1u b\u01b0\u1edbc: c\u00e0i Hermes tr\u00ean VPS, c\u00e0i Docker Engine, \u0111\u1eb7t Docker l\u00e0m terminal backend, c\u1ea5u h\u00ecnh model AI, n\u1ed1i k\u00eanh nh\u1eafn tin v\u00e0 ki\u1ec3m tra l\u1ec7nh c\u00f3 ch\u1ea1y trong container kh\u00f4ng. B\u01b0\u1edbc 3 l\u00e0 b\u01b0\u1edbc c\u1ed1t l\u00f5i, ch\u1ec9 m\u1ed9t d\u00f2ng l\u1ec7nh.<\/p>\n\n\n\n<h3 id=\"Y\u00eau_c\u1ea7u_tr\u01b0\u1edbc_khi_b\u1eaft_\u0111\u1ea7u\">Y\u00eau c\u1ea7u tr\u01b0\u1edbc khi b\u1eaft \u0111\u1ea7u<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>VPS ch\u1ea1y Ubuntu 22.04 ho\u1eb7c 24.04 v\u1edbi quy\u1ec1n sudo.<\/li>\n\n\n<li>T\u1ed1i thi\u1ec3u 2GB RAM, khuy\u1ebfn ngh\u1ecb 4GB khi d\u00f9ng Docker backend song song.<\/li>\n\n\n<li>K\u1ebft n\u1ed1i SSH \u0111ang ho\u1ea1t \u0111\u1ed9ng (<a href=\"https:\/\/tino.vn\/blog\/cach-ket-noi-vps\/\">c\u00e1ch k\u1ebft n\u1ed1i VPS<\/a>).<\/li>\n\n\n<li>API key c\u1ee7a nh\u00e0 cung c\u1ea5p m\u00f4 h\u00ecnh AI (Anthropic, OpenAI, OpenRouter, Google AI Studio ho\u1eb7c t\u01b0\u01a1ng t\u1ef1).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><em>M\u1ee9c RAM \u1edf tr\u00ean l\u00e0 kinh nghi\u1ec7m th\u1ef1c t\u1ebf. Chi ti\u1ebft theo t\u1eebng ki\u1ec3u d\u00f9ng: <a href=\"https:\/\/tino.vn\/blog\/cau-hinh-toi-thieu-de-chay-hermes-agent\/\">c\u1ea5u h\u00ecnh t\u1ed1i thi\u1ec3u \u0111\u1ec3 ch\u1ea1y Hermes Agent<\/a>.<\/em><\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_1_\u2014_C\u00e0i_\u0111\u1eb7t_Hermes_Agent\">B\u01b0\u1edbc 1 \u2014 C\u00e0i \u0111\u1eb7t Hermes Agent<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu ch\u01b0a c\u00f3 Hermes tr\u00ean VPS, c\u00e0i tr\u01b0\u1edbc b\u1eb1ng l\u1ec7nh m\u1ed9t d\u00f2ng:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt upgrade -y\nsudo apt install -y curl git wget build-essential\ncurl -fsSL https:\/\/hermes-agent.nousresearch.com\/install.sh | bash\nsource ~\/.bashrc<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><em>C\u1eadp nh\u1eadt 10\/2026: \u1ea3nh d\u01b0\u1edbi ch\u1ee5p l\u1ec7nh c\u0169 t\u1ea3i script t\u1eeb raw.githubusercontent.com (v\u1eabn ch\u1ea1y \u0111\u01b0\u1ee3c); <a href=\"https:\/\/hermes-agent.nousresearch.com\/docs\/getting-started\/installation\" target=\"_blank\" rel=\"noopener nofollow\">trang Installation<\/a> hi\u1ec7n d\u00f9ng \u0111\u1ecba ch\u1ec9 hermes-agent.nousresearch.com\/install.sh.<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1157\" height=\"590\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-1.png\" alt=\"D\u00e1n l\u1ec7nh c\u1eadp nh\u1eadt Ubuntu, c\u00e0i curl git wget build-essential v\u00e0 l\u1ec7nh c\u00e0i Hermes Agent tr\u00ean VPS\" class=\"wp-image-124650\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-1.png 1157w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-1-300x153.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-1-1024x522.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-1-768x392.png 768w\" sizes=\"(max-width: 1157px) 100vw, 1157px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ki\u1ec3m tra c\u00e0i th\u00e0nh c\u00f4ng:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes --version<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Sau khi c\u00e0i Hermes, b\u1ea1n s\u1ebd \u0111\u01b0\u1ee3c y\u00eau c\u1ea7u c\u1ea5u h\u00ecnh. Th\u1ef1c hi\u1ec7n c\u1ea5u h\u00ecnh theo h\u01b0\u1edbng d\u1eabn t\u1eeb b\u00e0i vi\u1ebft: <a href=\"https:\/\/tino.vn\/blog\/cai-dat-va-su-dung-hermes-agent-tren-vps\/\">C\u00e1ch c\u00e0i \u0111\u1eb7t v\u00e0 s\u1eed d\u1ee5ng Hermes Agent tr\u00ean VPS t\u1eeb A \u0111\u1ebfn Z<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"968\" height=\"557\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-2.png\" alt=\"Tr\u00ecnh c\u00e0i h\u1ecfi How would you like to set up Hermes v\u1edbi Quick setup v\u00e0 Full setup\" class=\"wp-image-124651\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-2.png 968w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-2-300x173.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-2-768x442.png 768w\" sizes=\"(max-width: 968px) 100vw, 968px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ho\u1eb7c b\u1ea1n c\u00f3 th\u1ec3 nh\u1ea5n Ctrl + C \u0111\u1ec3 b\u1ecf qua b\u01b0\u1edbc c\u1ea5u h\u00ecnh v\u00e0 ti\u1ebfn h\u00e0nh c\u00e0i Docker.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Trong tr\u01b0\u1eddng h\u1ee3p VPS \u0111\u00e3 c\u00f3 Hermes r\u1ed3i, b\u1ea1n s\u1ebd ti\u1ebfn th\u1eb3ng v\u00e0o b\u01b0\u1edbc c\u00e0i Docker.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_2_\u2014_C\u00e0i_\u0111\u1eb7t_Docker_tr\u00ean_VPS\">B\u01b0\u1edbc 2 \u2014 C\u00e0i \u0111\u1eb7t Docker tr\u00ean VPS<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Th\u00eam repository ch\u00ednh th\u1ee9c c\u1ee7a Docker (theo <a href=\"https:\/\/docs.docker.com\/engine\/install\/ubuntu\/\" target=\"_blank\" rel=\"noopener nofollow\">h\u01b0\u1edbng d\u1eabn c\u00e0i Docker Engine tr\u00ean Ubuntu<\/a>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\nsudo apt install -y ca-certificates curl\nsudo install -m 0755 -d \/etc\/apt\/keyrings\nsudo curl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg -o \/etc\/apt\/keyrings\/docker.asc\nsudo chmod a+r \/etc\/apt\/keyrings\/docker.asc\n\nsudo tee \/etc\/apt\/sources.list.d\/docker.sources &lt;&lt;EOF\nTypes: deb\nURIs: https:\/\/download.docker.com\/linux\/ubuntu\nSuites: $(. \/etc\/os-release &amp;&amp; echo \"${UBUNTU_CODENAME:-$VERSION_CODENAME}\")\nComponents: stable\nArchitectures: $(dpkg --print-architecture)\nSigned-By: \/etc\/apt\/keyrings\/docker.asc\nEOF<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><em>C\u1eadp nh\u1eadt 10\/2026: \u1ea3nh d\u01b0\u1edbi ch\u1ee5p c\u00e1ch th\u00eam kho\u00e1 docker.gpg v\u00e0 file docker.list ki\u1ec3u c\u0169, v\u1eabn d\u00f9ng \u0111\u01b0\u1ee3c. T\u00e0i li\u1ec7u Docker hi\u1ec7n d\u00f9ng kho\u00e1 docker.asc v\u00e0 file docker.sources nh\u01b0 kh\u1ed1i l\u1ec7nh tr\u00ean.<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1003\" height=\"506\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-3.png\" alt=\"Th\u00eam kho\u00e1 GPG v\u00e0 repository Docker tr\u00ean Ubuntu 24.04\" class=\"wp-image-124652\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-3.png 1003w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-3-300x151.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-3-768x387.png 768w\" sizes=\"(max-width: 1003px) 100vw, 1003px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00e0i Docker Engine:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\nsudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Kh\u1edfi \u0111\u1ed9ng Docker v\u00e0 b\u1eadt t\u1ef1 kh\u1edfi \u0111\u1ed9ng:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl start docker\nsudo systemctl enable docker<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Th\u00eam user hi\u1ec7n t\u1ea1i v\u00e0o group Docker \u0111\u1ec3 ch\u1ea1y l\u1ec7nh Docker kh\u00f4ng c\u1ea7n sudo:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo usermod -aG docker $USER\nnewgrp docker<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>L\u01b0u \u00fd an to\u00e0n:<\/strong> theo <a href=\"https:\/\/docs.docker.com\/engine\/install\/linux-postinstall\/\" target=\"_blank\" rel=\"noopener nofollow\">t\u00e0i li\u1ec7u Docker<\/a>, nh\u00f3m docker c\u00f3 quy\u1ec1n t\u01b0\u01a1ng \u0111\u01b0\u01a1ng root tr\u00ean m\u00e1y. Ch\u1ec9 th\u00eam t\u00e0i kho\u1ea3n b\u1ea1n tin c\u1eady v\u00e0o nh\u00f3m n\u00e0y; n\u1ebfu \u0111ang ch\u1ea1y b\u1eb1ng root nh\u01b0 \u1ea3nh th\u00ec c\u00f3 th\u1ec3 b\u1ecf qua l\u1ec7nh tr\u00ean.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Ki\u1ec3m tra Docker \u0111\u00e3 ho\u1ea1t \u0111\u1ed9ng:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker --version\ndocker run hello-world<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu th\u1ea5y th\u00f4ng b\u00e1o Hello from Docker! l\u00e0 Docker \u0111\u00e3 s\u1eb5n s\u00e0ng.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1145\" height=\"407\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-4.png\" alt=\"Docker version 29.4.1 c\u00e0i xong, l\u1ec7nh docker run hello-world \u0111ang t\u1ea3i image\" class=\"wp-image-124653\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-4.png 1145w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-4-300x107.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-4-1024x364.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-4-768x273.png 768w\" sizes=\"(max-width: 1145px) 100vw, 1145px\" \/><\/figure>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_3_\u2014_C\u1ea5u_h\u00ecnh_Docker_l\u00e0m_terminal_backend_cho_Hermes\">B\u01b0\u1edbc 3 \u2014 C\u1ea5u h\u00ecnh Docker l\u00e0m terminal backend cho Hermes<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u00e2y l\u00e0 b\u01b0\u1edbc c\u1ed1t l\u00f5i c\u1ee7a to\u00e0n b\u1ed9 b\u00e0i h\u01b0\u1edbng d\u1eabn. Ch\u1ec9 c\u1ea7n m\u1ed9t l\u1ec7nh:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes config set terminal.backend docker<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1018\" height=\"452\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-5.png\" alt=\"Hello from Docker v\u00e0 l\u1ec7nh hermes config set terminal.backend docker ghi v\u00e0o \/root\/.hermes\/config.yaml\" class=\"wp-image-124654\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-5.png 1018w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-5-300x133.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-5-768x341.png 768w\" sizes=\"(max-width: 1018px) 100vw, 1018px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">V\u1eady l\u00e0 xong, Hermes s\u1ebd d\u00f9ng Docker \u0111\u1ec3 th\u1ef1c thi l\u1ec7nh terminal t\u1eeb l\u1ea7n ch\u1ea1y ti\u1ebfp theo. N\u1ebfu gateway \u0111ang ch\u1ea1y, kh\u1edfi \u0111\u1ed9ng l\u1ea1i b\u1eb1ng <code>hermes gateway restart<\/code>.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_4_\u2014_C\u1ea5u_h\u00ecnh_m\u00f4_h\u00ecnh_AI_(n\u1ebfu_ch\u01b0a_l\u00e0m)\">B\u01b0\u1edbc 4 \u2014 C\u1ea5u h\u00ecnh m\u00f4 h\u00ecnh AI (n\u1ebfu ch\u01b0a l\u00e0m)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu \u1edf b\u01b0\u1edbc 1 b\u1ea1n b\u1ecf qua b\u01b0\u1edbc c\u1ea5u h\u00ecnh AI th\u00ec gi\u1edd h\u00e3y d\u00f9ng l\u1ec7nh sau:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes model<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">M\u00e0n h\u00ecnh \u0111i\u1ec1u khi\u1ec3n s\u1ebd hi\u1ec3n th\u1ecb danh s\u00e1ch c\u00e1c nh\u00e0 cung c\u1ea5p d\u1ecbch v\u1ee5. H\u00e3y s\u1eed d\u1ee5ng ph\u00edm m\u0169i t\u00ean \u0111\u1ec3 di chuy\u1ec3n v\u00e0 nh\u1ea5n ch\u1ecdn Provider b\u1ea1n c\u00f3 API Key.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1163\" height=\"662\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-6.png\" alt=\"Danh s\u00e1ch nh\u00e0 cung c\u1ea5p model c\u1ee7a l\u1ec7nh hermes model, ch\u1ecdn Google AI Studio\" class=\"wp-image-124655\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-6.png 1163w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-6-300x171.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-6-1024x583.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-6-768x437.png 768w\" sizes=\"(max-width: 1163px) 100vw, 1163px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Tino s\u1ebd s\u1eed d\u1ee5ng Google AI Studio \u0111\u1ec3 l\u00e0m v\u00ed d\u1ee5. Mu\u1ed1n \u0111\u1ed5i sau n\u00e0y, xem <a href=\"https:\/\/tino.vn\/blog\/doi-model-llm-cho-hermes-agent\/\">c\u00e1ch \u0111\u1ed5i model LLM cho Hermes Agent<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Khi h\u1ec7 th\u1ed1ng y\u00eau c\u1ea7u c\u1ea5u h\u00ecnh kh\u00f3a b\u1ea3o m\u1eadt, h\u00e3y d\u00e1n chu\u1ed7i API Key c\u1ee7a Google v\u00e0o d\u00f2ng GOOGLE_API_KEY. T\u1ea1i ph\u1ea7n Base URL, b\u1ea1n ch\u1ec9 c\u1ea7n nh\u1ea5n ph\u00edm Enter \u0111\u1ec3 gi\u1eef nguy\u00ean \u0111\u01b0\u1eddng d\u1eabn m\u1eb7c \u0111\u1ecbnh.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"706\" height=\"191\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-7.png\" alt=\"D\u00e1n GOOGLE_API_KEY v\u00e0 gi\u1eef Base URL m\u1eb7c \u0111\u1ecbnh c\u1ee7a Google AI Studio\" class=\"wp-image-124656\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-7.png 706w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-7-300x81.png 300w\" sizes=\"(max-width: 706px) 100vw, 706px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Cu\u1ed1i c\u00f9ng, h\u1ec7 th\u1ed1ng s\u1ebd y\u00eau c\u1ea7u ch\u1ecdn m\u00f4 h\u00ecnh x\u1eed l\u00fd. C\u00e1c m\u00f4 h\u00ecnh kh\u00e1c nhau s\u1ebd cho t\u1ed1c \u0111\u1ed9 x\u1eed l\u00fd kh\u00e1c nhau:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"765\" height=\"288\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-8.png\" alt=\"Danh s\u00e1ch model Gemini, ch\u1ecdn gemini-2.5-flash\" class=\"wp-image-124657\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-8.png 765w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-8-300x113.png 300w\" sizes=\"(max-width: 765px) 100vw, 765px\" \/><\/figure>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_5_\u2014_Thi\u1ebft_l\u1eadp_c\u1ed5ng_k\u1ebft_n\u1ed1i_k\u00eanh_nh\u1eafn_tin_(t\u00f9y_ch\u1ecdn_b\u1ed5_sung)\">B\u01b0\u1edbc 5 \u2014 Thi\u1ebft l\u1eadp c\u1ed5ng k\u1ebft n\u1ed1i k\u00eanh nh\u1eafn tin (t\u00f9y ch\u1ecdn b\u1ed5 sung)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu b\u1ea1n c\u00f3 nhu c\u1ea7u s\u1eed d\u1ee5ng Hermes Agent qua c\u00e1c k\u00eanh nh\u1eafn tin nh\u01b0 Telegram, h\u00e3y nh\u1eadp l\u1ec7nh sau \u0111\u1ec3 b\u1eaft \u0111\u1ea7u c\u1ea5u h\u00ecnh:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes gateway setup<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"682\" height=\"239\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-9.png\" alt=\"L\u1ec7nh hermes gateway setup m\u1edf m\u00e0n h\u00ecnh Gateway Setup\" class=\"wp-image-124658\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-9.png 682w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-9-300x105.png 300w\" sizes=\"(max-width: 682px) 100vw, 682px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">S\u1eed d\u1ee5ng ph\u00edm m\u0169i t\u00ean \u0111\u1ec3 di chuy\u1ec3n v\u00e0 ch\u1ecdn Telegram trong danh s\u00e1ch c\u00e1c n\u1ec1n t\u1ea3ng h\u1ed7 tr\u1ee3.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"976\" height=\"536\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-10.png\" alt=\"Ch\u1ecdn Telegram trong danh s\u00e1ch n\u1ec1n t\u1ea3ng c\u1ee7a Gateway Setup\" class=\"wp-image-124659\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-10.png 976w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-10-300x165.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-10-768x422.png 768w\" sizes=\"(max-width: 976px) 100vw, 976px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>M\u1edf \u1ee9ng d\u1ee5ng Telegram tr\u00ean thi\u1ebft b\u1ecb c\u00e1 nh\u00e2n, t\u00ecm ki\u1ebfm t\u00e0i kho\u1ea3n @BotFather v\u00e0 g\u1eedi l\u1ec7nh \/newbot \u0111\u1ec3 t\u1ea1o m\u1ed9t bot m\u1edbi. Sau khi ho\u00e0n t\u1ea5t c\u00e1c b\u01b0\u1edbc \u0111\u1eb7t t\u00ean, BotFather s\u1ebd cung c\u1ea5p m\u1ed9t \u0111o\u1ea1n m\u00e3 b\u1ea3o m\u1eadt g\u1ecdi l\u00e0 Bot token. Chi ti\u1ebft: <a href=\"https:\/\/tino.vn\/blog\/cach-lay-api-token-telegram\/\">c\u00e1ch l\u1ea5y API token Telegram<\/a>.<\/li>\n\n\n<li>Chuy\u1ec3n sang t\u00ecm ki\u1ebfm t\u00e0i kho\u1ea3n @userinfobot tr\u00ean Telegram \u0111\u1ec3 l\u1ea5y d\u1ea3i s\u1ed1 User ID c\u00e1 nh\u00e2n.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Quay l\u1ea1i c\u1eeda s\u1ed5 d\u00f2ng l\u1ec7nh c\u1ee7a m\u00e1y ch\u1ee7, d\u00e1n m\u00e3 Bot token v\u00e0o.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">T\u1ea1i m\u1ee5c Allowed user IDs, h\u00e3y \u0111i\u1ec1n d\u1ea3i s\u1ed1 User ID v\u1eeba l\u1ea5y \u0111\u01b0\u1ee3c.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"927\" height=\"395\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-11.png\" alt=\"D\u00e1n Bot token v\u00e0 nh\u1eadp Allowed user IDs trong Telegram Setup\" class=\"wp-image-124660\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-11.png 927w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-11-300x128.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-11-768x327.png 768w\" sizes=\"(max-width: 927px) 100vw, 927px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Nh\u1ea5n Enter \u0111\u1ec3 \u0111\u1eb7t User ID l\u00e0m Home channel. M\u1ecdi th\u00f4ng b\u00e1o h\u1ec7 th\u1ed1ng ho\u1eb7c c\u00e1c b\u00e1o c\u00e1o \u0111\u1ecbnh k\u1ef3 s\u1ebd \u0111\u01b0\u1ee3c g\u1eedi th\u1eb3ng v\u00e0o tin nh\u1eafn ri\u00eang.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1001\" height=\"466\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-12.png\" alt=\"Hermes h\u1ecfi Home channel ID cho th\u00f4ng b\u00e1o cron\" class=\"wp-image-124661\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-12.png 1001w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-12-300x140.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-12-768x358.png 768w\" sizes=\"(max-width: 1001px) 100vw, 1001px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">G\u00f5 y v\u00e0 nh\u1ea5n Enter \u0111\u1ec3 ti\u1ebfp t\u1ee5c.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"980\" height=\"508\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-13.png\" alt=\"G\u00f5 y t\u1ea1i c\u00e2u h\u1ecfi Use your user ID as the home channel\" class=\"wp-image-124662\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-13.png 980w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-13-300x156.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-13-768x398.png 768w\" sizes=\"(max-width: 980px) 100vw, 980px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ch\u1ecdn Done.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"921\" height=\"522\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-14.png\" alt=\"Telegram \u0111\u00e3 configured, ch\u1ecdn Done\" class=\"wp-image-124663\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-14.png 921w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-14-300x170.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-14-768x435.png 768w\" sizes=\"(max-width: 921px) 100vw, 921px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ti\u1ebfp theo, g\u00f5 y v\u00e0 nh\u1ea5n Enter.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1284\" height=\"731\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-15.png\" alt=\"G\u00f5 y \u0111\u1ec3 c\u00e0i gateway th\u00e0nh d\u1ecbch v\u1ee5 systemd\" class=\"wp-image-124664\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-15.png 1284w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-15-300x171.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-15-1024x583.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-15-768x437.png 768w\" sizes=\"(max-width: 1284px) 100vw, 1284px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Sau \u0111\u00f3, ch\u1ecdn c\u00e0i \u0111\u1eb7t gateway d\u01b0\u1edbi d\u1ea1ng d\u1ecbch v\u1ee5 n\u1ec1n User service v\u00e0 \u0111\u1ed3ng \u00fd k\u00edch ho\u1ea1t t\u00ednh n\u0103ng Linger.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"959\" height=\"535\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-16.png\" alt=\"Ch\u1ecdn User service \u0111\u1ec3 gateway ch\u1ea1y n\u1ec1n\" class=\"wp-image-124665\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-16.png 959w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-16-300x167.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-16-768x428.png 768w\" sizes=\"(max-width: 959px) 100vw, 959px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Linger gi\u00fap ti\u1ebfn tr\u00ecnh nh\u1eafn tin lu\u00f4n tr\u1ef1c tuy\u1ebfn 24\/7, ngay c\u1ea3 khi ng\u01b0\u1eddi qu\u1ea3n tr\u1ecb \u0111\u00f3ng k\u1ebft n\u1ed1i SSH v\u1edbi m\u00e1y ch\u1ee7.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">G\u00f5 y v\u00e0 nh\u1ea5n Enter \u1edf b\u01b0\u1edbc cu\u1ed1i c\u00f9ng \u0111\u1ec3 kh\u1edfi \u0111\u1ed9ng d\u1ecbch v\u1ee5 ngay l\u1eadp t\u1ee9c.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1323\" height=\"479\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-17.png\" alt=\"User service \u0111\u00e3 c\u00e0i, b\u1eadt Linger v\u00e0 g\u00f5 y t\u1ea1i Start the service now\" class=\"wp-image-124666\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-17.png 1323w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-17-300x109.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-17-1024x371.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-17-768x278.png 768w\" sizes=\"(max-width: 1323px) 100vw, 1323px\" \/><\/figure>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_6_\u2014_Ki\u1ec3m_tra_Docker_backend_ho\u1ea1t_\u0111\u1ed9ng\">B\u01b0\u1edbc 6 \u2014 Ki\u1ec3m tra Docker backend ho\u1ea1t \u0111\u1ed9ng<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Kh\u1edfi \u0111\u1ed9ng Hermes v\u00e0 th\u1ef1c hi\u1ec7n m\u1ed9t t\u00e1c v\u1ee5 y\u00eau c\u1ea7u ch\u1ea1y l\u1ec7nh terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1309\" height=\"517\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-18.png\" alt=\"User service started, g\u00f5 l\u1ec7nh hermes \u0111\u1ec3 m\u1edf giao di\u1ec7n chat\" class=\"wp-image-124667\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-18.png 1309w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-18-300x118.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-18-1024x404.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-18-768x303.png 768w\" sizes=\"(max-width: 1309px) 100vw, 1309px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Th\u1eed y\u00eau c\u1ea7u:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u276f Ki\u1ec3m tra dung l\u01b0\u1ee3ng \u1ed5 \u0111\u0129a hi\u1ec7n t\u1ea1i v\u00e0 li\u1ec7t k\u00ea 5 th\u01b0 m\u1ee5c l\u1edbn nh\u1ea5t.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1080\" height=\"770\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-19.png\" alt=\"Hermes ch\u1ea1y l\u1ec7nh df -h v\u00e0 du -sh trong terminal backend khi \u0111\u01b0\u1ee3c y\u00eau c\u1ea7u ki\u1ec3m tra dung l\u01b0\u1ee3ng \u1ed5 \u0111\u0129a\" class=\"wp-image-124668\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-19.png 1080w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-19-300x214.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-19-1024x730.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-19-768x548.png 768w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Khi Docker backend ho\u1ea1t \u0111\u1ed9ng \u0111\u00fang, l\u1ea7n g\u1ecdi l\u1ec7nh \u0111\u1ea7u ti\u00ean Hermes kh\u1edfi t\u1ea1o container (d\u00f2ng &#8220;preparing terminal&#8221;), ch\u1ea1y l\u1ec7nh r\u1ed3i tr\u1ea3 v\u1ec1 k\u1ebft qu\u1ea3. L\u1ea7n \u0111\u1ea7u m\u1ea5t th\u00eam m\u1ed9t \u00edt th\u1eddi gian; c\u00e1c l\u1ec7nh sau d\u00f9ng l\u1ea1i container n\u00ean nhanh h\u01a1n.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u1ec3 x\u00e1c nh\u1eadn l\u1ec7nh th\u1ef1c s\u1ef1 \u0111ang ch\u1ea1y trong Docker, b\u1ea1n m\u1edf m\u1ed9t tab SSH kh\u00e1c v\u00e0 nh\u1eadp l\u1ec7nh:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>watch docker ps<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1255\" height=\"542\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-20.png\" alt=\"docker ps hi\u1ec7n container hermes ch\u1ea1y image nikolaik\/python-nodejs v\u1edbi l\u1ec7nh sleep infinity\" class=\"wp-image-124669\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-20.png 1255w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-20-300x130.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-20-1024x442.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/04\/word-image-124649-20-768x332.png 768w\" sizes=\"(max-width: 1255px) 100vw, 1255px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">(M\u1eb9o: S\u1eed d\u1ee5ng l\u1ec7nh <code>watch -n 2 docker ps<\/code> \u0111\u1ec3 h\u1ec7 th\u1ed1ng t\u1ef1 \u0111\u1ed9ng l\u00e0m m\u1edbi k\u1ebft qu\u1ea3 m\u1ed7i 2 gi\u00e2y.) Container mang t\u00ean b\u1eaft \u0111\u1ea7u b\u1eb1ng <code>hermes-<\/code> v\u00e0 ch\u1ea1y l\u1ec7nh <code>sleep infinity<\/code> \u0111\u1ec3 gi\u1eef s\u1ed1ng gi\u1eefa c\u00e1c l\u1ea7n g\u1ecdi.<\/p>\n\n\n\n<h2 id=\"Ch\u1ea1y_to\u00e0n_b\u1ed9_Hermes_Agent_b\u1eb1ng_Docker_image_ch\u00ednh_th\u1ee9c\">Ch\u1ea1y to\u00e0n b\u1ed9 Hermes Agent b\u1eb1ng Docker image ch\u00ednh th\u1ee9c<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Ch\u1ea1y Hermes Agent b\u1eb1ng image ch\u00ednh th\u1ee9c ngh\u0129a l\u00e0 c\u1ea3 agent v\u00e0 gateway n\u1eb1m trong container <code>nousresearch\/hermes-agent<\/code>, c\u00f2n d\u1eef li\u1ec7u (config, API key, phi\u00ean chat, k\u1ef9 n\u0103ng) n\u1eb1m \u1edf th\u01b0 m\u1ee5c <code>~\/.hermes<\/code> tr\u00ean VPS, \u0111\u01b0\u1ee3c mount v\u00e0o <code>\/opt\/data<\/code>. C\u00e1c l\u1ec7nh d\u01b0\u1edbi \u0111\u00e2y l\u1ea5y t\u1eeb <a href=\"https:\/\/hermes-agent.nousresearch.com\/docs\/user-guide\/docker\" target=\"_blank\" rel=\"noopener nofollow\">t\u00e0i li\u1ec7u Hermes Docker Setup<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">L\u1ea7n \u0111\u1ea7u, ch\u1ea1y tr\u00ecnh thi\u1ebft l\u1eadp \u0111\u1ec3 nh\u1eadp API key v\u00e0 k\u00eanh nh\u1eafn tin:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir -p ~\/.hermes\ndocker run -it --rm \\\n  -v ~\/.hermes:\/opt\/data \\\n  nousresearch\/hermes-agent setup<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Sau \u0111\u00f3 ch\u1ea1y gateway n\u1ec1n, t\u1ef1 kh\u1edfi \u0111\u1ed9ng l\u1ea1i khi VPS reboot:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker run -d \\\n  --name hermes \\\n  --restart unless-stopped \\\n  -v ~\/.hermes:\/opt\/data \\\n  nousresearch\/hermes-agent gateway run<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">M\u1edf phi\u00ean chat trong terminal v\u1edbi c\u00f9ng th\u01b0 m\u1ee5c d\u1eef li\u1ec7u:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker run -it --rm -v ~\/.hermes:\/opt\/data nousresearch\/hermes-agent<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">C\u1eadp nh\u1eadt Hermes ch\u1ea1y b\u1eb1ng image (l\u1ec7nh <code>hermes update<\/code> kh\u00f4ng d\u00f9ng cho b\u1ea3n Docker):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker pull nousresearch\/hermes-agent:latest\ndocker rm -f hermes\ndocker run -d --name hermes --restart unless-stopped \\\n  -v ~\/.hermes:\/opt\/data nousresearch\/hermes-agent gateway run<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>T\u00e0i li\u1ec7u khuy\u1ebfn ngh\u1ecb cho container t\u1ed1i thi\u1ec3u 1GB RAM v\u00e0 1 nh\u00e2n CPU, n\u00ean c\u00f3 2\u20134GB RAM v\u00e0 2 nh\u00e2n; c\u00f4ng c\u1ee5 duy\u1ec7t web c\u1ea7n \u00edt nh\u1ea5t 2GB.<\/li>\n\n\n<li>C\u1ed5ng 8642 (API server) v\u00e0 9119 (dashboard) ch\u1ec9 c\u1ea7n m\u1edf khi d\u00f9ng t\u1edbi. N\u1ebfu m\u1edf, \u0111\u1eb7t sau <a href=\"https:\/\/tino.vn\/blog\/bao-mat-vps-chay-ai-agent-bang-tailscale\/\">Tailscale<\/a> ho\u1eb7c reverse proxy c\u00f3 x\u00e1c th\u1ef1c thay v\u00ec \u0111\u1ec3 l\u1ed9 ra Internet.<\/li>\n\n\n<li>D\u00e1n l\u1ec7nh qua SSH thay v\u00ec console web c\u1ee7a nh\u00e0 cung c\u1ea5p VPS: t\u00e0i li\u1ec7u Hermes ghi nh\u1eadn m\u1ed9t s\u1ed1 console web g\u00f5 sai k\u00fd t\u1ef1 &#8220;:&#8221; v\u00e0 &#8220;@&#8221;, l\u00e0m h\u1ecfng tham s\u1ed1 <code>-v<\/code>.<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>L\u01b0u \u00fd an to\u00e0n:<\/strong> c\u00e1ch ch\u1ea1y c\u1ea3 Hermes trong container kh\u00f4ng t\u1ef1 c\u00f4 l\u1eadp l\u1ec7nh terminal kh\u1ecfi d\u1eef li\u1ec7u c\u1ee7a agent: l\u1ec7nh agent ch\u1ea1y c\u00f9ng container c\u00f3 file .env. Khi agent \u0111\u01b0\u1ee3c ph\u00e9p ch\u1ea1y l\u1ec7nh tr\u00ean n\u1ed9i dung kh\u00f4ng tin c\u1eady, v\u1eabn n\u00ean k\u1ebft h\u1ee3p v\u1edbi sandbox nh\u01b0 m\u1ee5c <a href=\"https:\/\/tino.vn\/blog\/thiet-lap-docker-sandbox-cho-hermes-agent\/\">thi\u1ebft l\u1eadp Docker sandbox<\/a>.<\/p>\n<\/blockquote>\n\n\n\n<h2 id=\"Khi_n\u00e0o_kh\u00f4ng_n\u00ean_d\u00f9ng_Docker_v\u1edbi_Hermes_Agent?\">Khi n\u00e0o kh\u00f4ng n\u00ean d\u00f9ng Docker v\u1edbi Hermes Agent?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Kh\u00f4ng n\u00ean d\u00f9ng Docker v\u1edbi Hermes Agent khi VPS ch\u1ec9 c\u00f3 1GB RAM, khi b\u1ea1n c\u1ea7n agent thao t\u00e1c tr\u1ef1c ti\u1ebfp l\u00ean ph\u1ea7n m\u1ec1m c\u1ee7a ch\u00ednh VPS (c\u00e0i g\u00f3i h\u1ec7 th\u1ed1ng, s\u1eeda c\u1ea5u h\u00ecnh Nginx), ho\u1eb7c khi ch\u01b0a quen qu\u1ea3n tr\u1ecb Docker. Docker th\u00eam m\u1ed9t l\u1edbp ph\u1ea3i c\u1eadp nh\u1eadt v\u00e0 theo d\u00f5i.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>VPS 1GB RAM: Docker daemon, container sandbox v\u00e0 Hermes c\u00f9ng ch\u1ea1y d\u1ec5 ch\u1ea1m gi\u1edbi h\u1ea1n b\u1ed9 nh\u1edb, nh\u1ea5t l\u00e0 khi b\u1eadt c\u00f4ng c\u1ee5 duy\u1ec7t web.<\/li>\n\n\n<li>Agent c\u1ea7n qu\u1ea3n tr\u1ecb ch\u00ednh VPS: l\u1ec7nh trong sandbox kh\u00f4ng th\u1ea5y d\u1ecbch v\u1ee5 c\u1ee7a host, n\u00ean c\u00e1c t\u00e1c v\u1ee5 ki\u1ec3u &#8220;ki\u1ec3m tra Nginx&#8221; s\u1ebd tr\u1ea3 k\u1ebft qu\u1ea3 c\u1ee7a container.<\/li>\n\n\n<li>Ch\u1ec9 chat, kh\u00f4ng cho agent ch\u1ea1y l\u1ec7nh: c\u00f3 th\u1ec3 t\u1eaft c\u00f4ng c\u1ee5 terminal b\u1eb1ng <code>hermes tools<\/code> thay v\u00ec d\u1ef1ng th\u00eam Docker.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"Kh\u00f4ng_r\u00e0nh_k\u1ef9_thu\u1eadt_v\u1eabn_c\u00f3_th\u1ec3_tri\u1ec3n_khai_Hermes_Agent\">Kh\u00f4ng r\u00e0nh k\u1ef9 thu\u1eadt v\u1eabn c\u00f3 th\u1ec3 tri\u1ec3n khai Hermes Agent<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu m\u1ee5c ti\u00eau c\u1ee7a b\u1ea1n l\u00e0 d\u00f9ng Hermes Agent c\u00e0ng s\u1edbm c\u00e0ng t\u1ed1t, VPS c\u00e0i s\u1eb5n Hermes Agent gi\u00fap b\u1ecf qua b\u01b0\u1edbc c\u00e0i m\u00f4i tr\u01b0\u1eddng t\u1eeb VPS tr\u1ed1ng. G\u00f3i c\u00e0i s\u1eb5n v\u1eabn cho quy\u1ec1n root, n\u00ean b\u1ea1n b\u1eadt \u0111\u01b0\u1ee3c Docker backend b\u1eb1ng l\u1ec7nh \u1edf B\u01b0\u1edbc 3 sau khi nh\u1eadn m\u00e1y. L\u1ee3i \u00edch ch\u00ednh:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Kh\u00f4ng m\u1ea5t th\u1eddi gian c\u00e0i \u0111\u1eb7t m\u00f4i tr\u01b0\u1eddng t\u1eeb VPS tr\u1ed1ng.<\/li>\n\n\n<li>H\u1ea1n ch\u1ebf l\u1ed7i c\u1ea5u h\u00ecnh trong giai \u0111o\u1ea1n tri\u1ec3n khai ban \u0111\u1ea7u.<\/li>\n\n\n<li>Ph\u00f9 h\u1ee3p cho ng\u01b0\u1eddi l\u00e0m n\u1ed9i dung, marketer, developer ho\u1eb7c doanh nghi\u1ec7p mu\u1ed1n th\u1eed AI Agent th\u1ef1c t\u1ebf.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Mu\u1ed1n ch\u1ea1y Hermes Agent 24\/7 m\u00e0 kh\u00f4ng t\u1ef1 c\u00e0i? <a href=\"https:\/\/tino.vn\/vps-hermes\">VPS Hermes Agent c\u1ee7a Tino<\/a> c\u00e0i s\u1eb5n Hermes Agent tr\u00ean VPS NVMe \u0111\u1eb7t t\u1ea1i Vi\u1ec7t Nam; b\u1ea1n v\u1eabn c\u00f3 quy\u1ec1n root \u0111\u1ec3 c\u1ea5u h\u00ecnh. Xem c\u1ea5u h\u00ecnh v\u00e0 gi\u00e1 tr\u00ean trang s\u1ea3n ph\u1ea9m. N\u1ebfu d\u00f9ng trong 30 ng\u00e0y m\u00e0 kh\u00f4ng h\u00e0i l\u00f2ng, b\u1ea1n \u0111\u01b0\u1ee3c ho\u00e0n 100% (<a href=\"https:\/\/tino.vn\/chinh-sach-hoan-tien\">xem \u0111i\u1ec1u ki\u1ec7n<\/a>).<\/p>\n\n\n\n<h2 id=\"K\u1ebft_lu\u1eadn\">K\u1ebft lu\u1eadn<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu Hermes ch\u1ea1y tr\u00ean VPS k\u00e8m gateway Telegram, b\u1eadt Docker backend l\u00e0 b\u01b0\u1edbc n\u00e2ng c\u1ea5p b\u1ea3o m\u1eadt \u0111\u00e1ng l\u00e0m: l\u1ec7nh c\u1ee7a agent ch\u1ea1y trong container, VPS ch\u1ec9 ch\u1ecbu \u1ea3nh h\u01b0\u1edfng qua nh\u1eefng th\u01b0 m\u1ee5c b\u1ea1n ch\u1ee7 \u0111\u1ed9ng chia s\u1ebb. N\u1ebfu mu\u1ed1n \u0111\u00f3ng g\u00f3i c\u1ea3 Hermes, d\u00f9ng image ch\u00ednh th\u1ee9c v\u00e0 c\u1eadp nh\u1eadt b\u1eb1ng c\u00e1ch k\u00e9o image m\u1edbi.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00e1c b\u00e0i vi\u1ebft li\u00ean quan:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/tino.vn\/blog\/cau-hinh-toi-thieu-de-chay-hermes-agent\/\">C\u1ea5u h\u00ecnh t\u1ed1i thi\u1ec3u \u0111\u1ec3 ch\u1ea1y Hermes Agent<\/a><\/li>\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/thiet-lap-docker-sandbox-cho-hermes-agent\/\">C\u00e1ch thi\u1ebft l\u1eadp Docker sandbox cho Hermes Agent<\/a><\/li>\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/huong-dan-su-dung-hermes-agent\/\">H\u01b0\u1edbng d\u1eabn s\u1eed d\u1ee5ng Hermes Agent c\u01a1 b\u1ea3n<\/a><\/li>\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/cach-them-skill-cho-hermes-agent\/\">H\u01b0\u1edbng d\u1eabn c\u00e1ch th\u00eam skill cho Hermes Agent<\/a><\/li>\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/cai-dat-hermes-agent-tren-may-tinh-windows\/\">C\u00e1ch c\u00e0i \u0111\u1eb7t Hermes Agent tr\u00ean m\u00e1y t\u00ednh Windows<\/a><\/li>\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/go-cai-dat-hermes-agent-tren-vps\/\">H\u01b0\u1edbng d\u1eabn g\u1ee1 c\u00e0i \u0111\u1eb7t Hermes Agent tr\u00ean VPS<\/a><\/li>\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/cach-ly-sandbox-cho-ai-agent-tren-vps\/\">C\u00e1ch ly sandbox cho AI Agent tr\u00ean VPS<\/a><\/li>\n<\/ul>\n\n\n\n<h2 id=\"Nh\u1eefng_c\u00e2u_h\u1ecfi_th\u01b0\u1eddng_g\u1eb7p\">Nh\u1eefng c\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p<\/h2>\n\n\n\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"N\u1ebfu_l\u1ec7nh_terminal_ch\u1ea1y_trong_Docker_g\u00e2y_ra_l\u1ed7i_nghi\u00eam_tr\u1ecdng,_VPS_c\u00f3_b\u1ecb_\u1ea3nh_h\u01b0\u1edfng_kh\u00f4ng?\">N\u1ebfu l\u1ec7nh terminal ch\u1ea1y trong Docker g\u00e2y ra l\u1ed7i nghi\u00eam tr\u1ecdng, VPS c\u00f3 b\u1ecb \u1ea3nh h\u01b0\u1edfng kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Th\u01b0\u1eddng l\u00e0 kh\u00f4ng. L\u1ec7nh xo\u00e1 nh\u1ea7m file hay l\u00e0m h\u1ecfng m\u00f4i tr\u01b0\u1eddng ch\u1ec9 t\u00e1c \u0111\u1ed9ng b\u00ean trong container, v\u00ec Hermes ch\u1ea1y container v\u1edbi <code>--cap-drop ALL<\/code>, <code>no-new-privileges<\/code> v\u00e0 gi\u1edbi h\u1ea1n s\u1ed1 ti\u1ebfn tr\u00ecnh. Ngo\u1ea1i l\u1ec7 l\u00e0 nh\u1eefng th\u01b0 m\u1ee5c b\u1ea1n mount v\u00e0o qua docker_volumes ho\u1eb7c docker_mount_cwd_to_workspace: thay \u0111\u1ed5i \u1edf \u0111\u00f3 ghi th\u1eb3ng xu\u1ed1ng VPS. Kh\u00f4ng mount th\u01b0 m\u1ee5c h\u1ec7 th\u1ed1ng v\u00e0 kh\u00f4ng \u0111\u01b0a Docker socket v\u00e0o container.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"VPS_c\u1ea7n_bao_nhi\u00eau_RAM_\u0111\u1ec3_ch\u1ea1y_Hermes_Agent_k\u1ebft_h\u1ee3p_v\u1edbi_Docker?\">VPS c\u1ea7n bao nhi\u00eau RAM \u0111\u1ec3 ch\u1ea1y Hermes Agent k\u1ebft h\u1ee3p v\u1edbi Docker?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">T\u00e0i li\u1ec7u Hermes khuy\u1ebfn ngh\u1ecb container ch\u1ea1y Hermes t\u1ed1i thi\u1ec3u 1GB RAM, n\u00ean c\u00f3 2\u20134GB; c\u00f4ng c\u1ee5 duy\u1ec7t web c\u1ea7n \u00edt nh\u1ea5t 2GB. V\u1edbi Docker backend, kho\u00e1 container_memory gi\u1edbi h\u1ea1n RAM c\u1ee7a sandbox (m\u1eb7c \u0111\u1ecbnh 5120 MB theo t\u00e0i li\u1ec7u Security). VPS 2GB ch\u1ea1y \u0111\u01b0\u1ee3c vi\u1ec7c nh\u1eb9; 4GB tho\u1ea3i m\u00e1i h\u01a1n khi b\u1eadt duy\u1ec7t web ho\u1eb7c ch\u1ea1y nhi\u1ec1u t\u00e1c v\u1ee5.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\n<script type=\"application\/ld+json\">\n\t{\n\t\t\"@context\": \"https:\/\/schema.org\",\n\t\t\"@type\": \"FAQPage\",\n\t\t\"mainEntity\": [\n\t\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"N\u1ebfu l\u1ec7nh terminal ch\u1ea1y trong Docker g\u00e2y ra l\u1ed7i nghi\u00eam tr\u1ecdng, VPS c\u00f3 b\u1ecb \u1ea3nh h\u01b0\u1edfng kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Th\u01b0\u1eddng l\u00e0 kh\u00f4ng. L\u1ec7nh xo\u00e1 nh\u1ea7m file hay l\u00e0m h\u1ecfng m\u00f4i tr\u01b0\u1eddng ch\u1ec9 t\u00e1c \u0111\u1ed9ng b\u00ean trong container, v\u00ec Hermes ch\u1ea1y container v\u1edbi --cap-drop ALL, no-new-privileges v\u00e0 gi\u1edbi h\u1ea1n s\u1ed1 ti\u1ebfn tr\u00ecnh. Ngo\u1ea1i l\u1ec7 l\u00e0 nh\u1eefng th\u01b0 m\u1ee5c b\u1ea1n mount v\u00e0o qua docker_volumes ho\u1eb7c docker_mount_cwd_to_workspace: thay \u0111\u1ed5i \u1edf \u0111\u00f3 ghi th\u1eb3ng xu\u1ed1ng VPS. Kh\u00f4ng mount th\u01b0 m\u1ee5c h\u1ec7 th\u1ed1ng v\u00e0 kh\u00f4ng \u0111\u01b0a Docker socket v\u00e0o container.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"VPS c\u1ea7n bao nhi\u00eau RAM \u0111\u1ec3 ch\u1ea1y Hermes Agent k\u1ebft h\u1ee3p v\u1edbi Docker?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>T\u00e0i li\u1ec7u Hermes khuy\u1ebfn ngh\u1ecb container ch\u1ea1y Hermes t\u1ed1i thi\u1ec3u 1GB RAM, n\u00ean c\u00f3 2\u20134GB; c\u00f4ng c\u1ee5 duy\u1ec7t web c\u1ea7n \u00edt nh\u1ea5t 2GB. V\u1edbi Docker backend, kho\u00e1 container_memory gi\u1edbi h\u1ea1n RAM c\u1ee7a sandbox (m\u1eb7c \u0111\u1ecbnh 5120 MB theo t\u00e0i li\u1ec7u Security). VPS 2GB ch\u1ea1y \u0111\u01b0\u1ee3c vi\u1ec7c nh\u1eb9; 4GB tho\u1ea3i m\u00e1i h\u01a1n khi b\u1eadt duy\u1ec7t web ho\u1eb7c ch\u1ea1y nhi\u1ec1u t\u00e1c v\u1ee5.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t]\n\t}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>C\u00f3 hai c\u00e1ch c\u00e0i Hermes Agent v\u1edbi Docker: ch\u1ea1y c\u1ea3 Hermes trong container t\u1eeb image ch\u00ednh th\u1ee9c nousresearch\/hermes-agent, ho\u1eb7c c\u00e0i Hermes tr\u00ean VPS r\u1ed3i \u0111\u1eb7t terminal.backend: docker \u0111\u1ec3 m\u1ecdi l\u1ec7nh agent ch\u1ea1y trong container c\u00f4 l\u1eadp. B\u00e0i n\u00e0y h\u01b0\u1edbng d\u1eabn chi ti\u1ebft c\u00e1ch th\u1ee9 hai theo t\u1eebng b\u01b0\u1edbc c\u00f3 \u1ea3nh, v\u00e0 t\u00f3m t\u1eaft l\u1ec7nh cho [&hellip;]<\/p>\n","protected":false},"author":23,"featured_media":124673,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7592],"tags":[7599],"class_list":["post-124649","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hermes-agent","tag-cai-dat-hermes-agent"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/124649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=124649"}],"version-history":[{"count":8,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/124649\/revisions"}],"predecessor-version":[{"id":132467,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/124649\/revisions\/132467"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/124673"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=124649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/categories?post=124649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=124649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}