[{"data":1,"prerenderedAt":737},["ShallowReactive",2],{"navigation_docs":3,"-guides-troubleshooting":184,"-guides-troubleshooting-surround":732},[4,35,94,119,139,154,174,179],{"title":5,"path":6,"stem":7,"children":8,"page":34},"Get Started","\u002Fget-started","1.get-started",[9,14,19,24,29],{"title":10,"path":11,"stem":12,"icon":13},"Introduction","\u002Fget-started\u002Fintroduction","1.get-started\u002F1.introduction","i-lucide-house",{"title":15,"path":16,"stem":17,"icon":18},"Installation","\u002Fget-started\u002Finstallation","1.get-started\u002F2.installation","i-lucide-download",{"title":20,"path":21,"stem":22,"icon":23},"Quick start","\u002Fget-started\u002Fquickstart","1.get-started\u002F3.quickstart","i-lucide-rocket",{"title":25,"path":26,"stem":27,"icon":28},"Project structure","\u002Fget-started\u002Fproject-structure","1.get-started\u002F4.project-structure","i-lucide-folder-tree",{"title":30,"path":31,"stem":32,"icon":33},"Dashboard","\u002Fget-started\u002Fdashboard","1.get-started\u002F5.dashboard","i-lucide-layout-dashboard",false,{"title":36,"path":37,"stem":38,"children":39,"page":34},"Concepts","\u002Fconcepts","2.concepts",[40,45,50,55,60,65,70,75,79,84,89],{"title":41,"path":42,"stem":43,"icon":44},"Architecture","\u002Fconcepts\u002Farchitecture","2.concepts\u002F1.architecture","i-lucide-layers",{"title":46,"path":47,"stem":48,"icon":49},"Glossary","\u002Fconcepts\u002Fglossary","2.concepts\u002F10.glossary","i-lucide-book-marked",{"title":51,"path":52,"stem":53,"icon":54},"Secrets","\u002Fconcepts\u002Fsecrets","2.concepts\u002F11.secrets","i-lucide-key-round",{"title":56,"path":57,"stem":58,"icon":59},"Machines","\u002Fconcepts\u002Fmachines","2.concepts\u002F2.machines","i-lucide-server",{"title":61,"path":62,"stem":63,"icon":64},"Colony & users","\u002Fconcepts\u002Fcolony","2.concepts\u002F3.colony","i-lucide-users",{"title":66,"path":67,"stem":68,"icon":69},"Transport","\u002Fconcepts\u002Ftransport","2.concepts\u002F4.transport","i-lucide-network",{"title":71,"path":72,"stem":73,"icon":74},"Configuration","\u002Fconcepts\u002Fconfiguration","2.concepts\u002F5.configuration","i-lucide-settings",{"title":76,"path":77,"stem":78,"icon":23},"Deploy","\u002Fconcepts\u002Fdeploy","2.concepts\u002F6.deploy",{"title":80,"path":81,"stem":82,"icon":83},"Groups","\u002Fconcepts\u002Fgroups","2.concepts\u002F7.groups","i-lucide-boxes",{"title":85,"path":86,"stem":87,"icon":88},"Templates","\u002Fconcepts\u002Ftemplates","2.concepts\u002F8.templates","i-lucide-package-plus",{"title":90,"path":91,"stem":92,"icon":93},"Existing projects","\u002Fconcepts\u002Fexisting-projects","2.concepts\u002F9.existing-projects","i-lucide-folder-open",{"title":95,"path":96,"stem":97,"children":98,"page":34},"Remote","\u002Fremote","3.remote",[99,104,109,114],{"title":100,"path":101,"stem":102,"icon":103},"Remote machines","\u002Fremote\u002Foverview","3.remote\u002F1.overview","i-lucide-cloud",{"title":105,"path":106,"stem":107,"icon":108},"Remote deploy","\u002Fremote\u002Fdeploy","3.remote\u002F2.deploy","i-lucide-send",{"title":110,"path":111,"stem":112,"icon":113},"CI","\u002Fremote\u002Fci","3.remote\u002F3.ci","i-lucide-workflow",{"title":115,"path":116,"stem":117,"icon":118},"Tunnels","\u002Fremote\u002Ftunnel","3.remote\u002F4.tunnel","i-lucide-cable",{"title":120,"path":121,"stem":122,"children":123,"page":34},"Security","\u002Fsecurity","4.security",[124,129,134],{"title":125,"path":126,"stem":127,"icon":128},"Security model","\u002Fsecurity\u002Fmodel","4.security\u002F1.model","i-lucide-shield",{"title":130,"path":131,"stem":132,"icon":133},"Known issues","\u002Fsecurity\u002Fknown-issues","4.security\u002F2.known-issues","i-lucide-triangle-alert",{"title":135,"path":136,"stem":137,"icon":138},"Threat model","\u002Fsecurity\u002Fthreat-model","4.security\u002F3.threat-model","i-lucide-shield-alert",{"title":140,"path":141,"stem":142,"children":143,"page":34},"Reference","\u002Freference","5.reference",[144,149],{"title":145,"path":146,"stem":147,"icon":148},"CLI reference","\u002Freference\u002Fcli","5.reference\u002F1.cli","i-lucide-terminal",{"title":150,"path":151,"stem":152,"icon":153},"Status matrix","\u002Freference\u002Fstatus","5.reference\u002F2.status","i-lucide-list-checks",{"title":155,"path":156,"stem":157,"children":158,"page":34},"Guides","\u002Fguides","6.guides",[159,164,169],{"title":160,"path":161,"stem":162,"icon":163},"Recipes","\u002Fguides\u002Frecipes","6.guides\u002F1.recipes","i-lucide-cooking-pot",{"title":165,"path":166,"stem":167,"icon":168},"Troubleshooting and FAQ","\u002Fguides\u002Ftroubleshooting","6.guides\u002F2.troubleshooting","i-lucide-life-buoy",{"title":170,"path":171,"stem":172,"icon":173},"Comparison and when not to use Ant","\u002Fguides\u002Fcomparison","6.guides\u002F3.comparison","i-lucide-scale",{"title":175,"path":176,"stem":177,"icon":178},"Changelog","\u002Fchangelog","changelog","i-lucide-history",{"title":180,"path":181,"stem":182,"icon":183},"Communities","\u002Fcommunities","communities","i-lucide-heart-handshake",{"id":185,"title":165,"body":186,"description":724,"extension":725,"links":726,"meta":727,"navigation":728,"path":166,"seo":729,"stem":167,"__hash__":731},"docs\u002F6.guides\u002F2.troubleshooting.md",{"type":187,"value":188,"toc":712},"minimark",[189,194,512,516,521,537,541,563,567,588,592,631,635,638,667,670,674,688,692,708],[190,191,193],"h2",{"id":192},"troubleshooting","Troubleshooting",[195,196,197,213],"table",{},[198,199,200],"thead",{},[201,202,203,207,210],"tr",{},[204,205,206],"th",{},"Symptom",[204,208,209],{},"Likely cause",[204,211,212],{},"Fix",[214,215,216,239,273,299,327,354,376,404,429,449,490],"tbody",{},[201,217,218,225,228],{},[219,220,221],"td",{},[222,223,224],"code",{},"Cannot connect to the Docker daemon",[219,226,227],{},"Docker is not running (the CLI and every build need it)",[219,229,230,231,234,235,238],{},"Start Docker, then re-run ",[222,232,233],{},"ant nest tools",": Docker reports ",[222,236,237],{},"daemon unreachable",", not \"not installed\", when the daemon is down",[201,240,241,248,251],{},[219,242,243,244,247],{},"A deploy fails, or the container exits immediately, and ",[222,245,246],{},"ant trail doctor"," reports the port",[219,249,250],{},"The host port is already taken",[219,252,253,254,257,258,261,262,265,266,268,269,272],{},"Change ",[222,255,256],{},"deploy.port"," in ",[222,259,260],{},"ant.yaml"," (or the deployment's ",[222,263,264],{},"port_offset",") and deploy again; ",[222,267,246],{}," reports port availability, ",[222,270,271],{},"ant trail status"," shows the chosen port",[201,274,275,278,286],{},[219,276,277],{},"A domain does not resolve, or the deploy warns that Caddy is unreachable",[219,279,280,281,285],{},"Caddy is missing or stopped. It is optional locally but ",[282,283,284],"strong",{},"required on a remote nest",", where deploys are refused until it answers",[219,287,288,291,292,295,296],{},[222,289,290],{},"ant nest tools caddy status",", ",[222,293,294],{},"ant nest tools install caddy","; for one local run, ",[222,297,298],{},"ant trail deploy local --no-caddy",[201,300,301,307,310],{},[219,302,303,306],{},[222,304,305],{},"*.localhost"," domains do not resolve",[219,308,309],{},"The resolver does not map the name (or the group base is a real domain)",[219,311,312,313,316,317,319,320,323,324,326],{},"Check ",[222,314,315],{},"ant nest edit domain list"," and ",[222,318,290],{},"; add the name to the hosts file (",[222,321,322],{},"127.0.0.1 api.localhost",") or reach the app through the port ",[222,325,271],{}," prints",[201,328,329,332,335],{},[219,330,331],{},"A machine is refused for answering as a different NodeID",[219,333,334],{},"The machine's identity does not match the registered one (reprovisioned, or the wrong machine)",[219,336,337,338,341,342,345,346,349,350,353],{},"Read the real NodeID with ",[222,339,340],{},"ant nest identity show --machine prod",", then re-register it (",[222,343,344],{},"ant nest machines remove prod"," followed by ",[222,347,348],{},"ant nest machines add prod --node-id \u003Cid>","); ",[222,351,352],{},"ant nest machines verify"," records the check. Invites pin the NodeID out of band, which is the strongest join for a machine you have never contacted",[201,355,356,362,365],{},[219,357,358,361],{},[222,359,360],{},"peer speaks protocol v…",", and every call fails",[219,363,364],{},"The CLI and worker speak different protocol versions; mixed versions fail closed",[219,366,367,368,371,372,375],{},"Update the worker: ",[222,369,370],{},"ant nest worker update --machine prod",". A machine provisioned before self-update support needs one re-provision (",[222,373,374],{},"ant nest bootstrap --machine prod --host ADDR --ssh-key …",")",[201,377,378,390,393],{},[219,379,380,381,291,384,291,387,375],{},"An invite cannot be redeemed (",[222,382,383],{},"expired",[222,385,386],{},"already used",[222,388,389],{},"revoked",[219,391,392],{},"Invites are signed, single-use, and expiring; redemption is verified server-side",[219,394,395,396,399,400,403],{},"Create a new one with a short TTL: ",[222,397,398],{},"ant colony invite --role deployer --machine prod --ttl 1h","; ",[222,401,402],{},"ant colony invites"," lists pending invites and can revoke a leaked nonce",[201,405,406,412,415],{},[219,407,408,411],{},[222,409,410],{},"ant nest ping"," fails",[219,413,414],{},"The machine is down, its NodeID changed, the network blocks outbound UDP\u002FDNS, or the binary has no transport",[219,416,312,417,420,421,424,425,428],{},[222,418,419],{},"ant nest machines list"," and retry with ",[222,422,423],{},"--timeout 30s","; allow outbound UDP and DNS on both sides; a macOS\u002Fnative Windows or ",[222,426,427],{},"CGO_ENABLED=0"," build reports iroh unavailable, so use a Linux + CGO client",[201,430,431,434,437],{},[219,432,433],{},"A deploy appears stuck",[219,435,436],{},"Remote deploys are serialized per machine, and a source deploy uploads the context before it builds; a health gate waits for the configured checks",[219,438,439,440,316,442,399,445,448],{},"Watch ",[222,441,271],{},[222,443,444],{},"ant trail logs --tail 50",[222,446,447],{},"ant trail history"," shows recorded releases; a cancelled deploy leaves the running release in place, so re-run when ready",[201,450,451,454,457],{},[219,452,453],{},"Disk fills up after several deploys",[219,455,456],{},"Old app image tags, dangling layers, the build cache, stopped containers, and unused volumes accumulate",[219,458,459,462,463,466,467,316,470,473,474,477,478,481,482,485,486,489],{},[222,460,461],{},"ant trail prune --dry-run"," to see what would go, then ",[222,464,465],{},"ant trail prune --all --skip-volumes --yes","; remove a specific volume with ",[222,468,469],{},"ant nest volume list",[222,471,472],{},"ant nest volume rm NAME --yes",". ",[222,475,476],{},"ant trail prune"," is this host only; on a remote nest, superseded app tags rotate to ",[222,479,480],{},"deploy.keep_images"," automatically and ",[222,483,484],{},"ant nest volume list --machine M"," \u002F ",[222,487,488],{},"ant nest containers rm NAME --machine M --yes"," manage specific resources",[201,491,492,498,501],{},[219,493,494,497],{},[222,495,496],{},"exec format error",", or the binary dies on Alpine",[219,499,500],{},"Release binaries link glibc dynamically; musl distributions cannot run them",[219,502,503,504,507,508,511],{},"Build from source (",[222,505,506],{},"go build .\u002Fcmd\u002Fant","; add CGO for the transport) or use a glibc image such as ",[222,509,510],{},"debian:bookworm-slim"," for CI",[190,513,515],{"id":514},"faq","FAQ",[517,518,520],"h3",{"id":519},"is-there-a-central-server","Is there a central server?",[522,523,524,525,528,529,532,533,536],"p",{},"No. Ant is a local-first CLI. The only long-running component is ",[222,526,527],{},"ant-worker","\non the machines you register, and each machine's daemon holds its own roster.\nThere is no hosted control plane and no shared auth service; the dashboard is\nper operator, on their own machine, reading their own ",[222,530,531],{},"~\u002F.ant",". See\n",[534,535,41],"a",{"href":42},".",[517,538,540],{"id":539},"what-runs-when-i-deploy-locally","What runs when I deploy locally?",[522,542,543,546,547,550,551,554,555,557,558,560,561,536],{},[222,544,545],{},"ant trail deploy local"," builds the image (the configured builder, or\n",[222,548,549],{},"docker compose build"," for compose projects) through your local Docker daemon\nand runs it, managing Caddy if the deployment has domains. ",[222,552,553],{},"ant haul"," is the\nbuild-only half. It writes only to ",[222,556,531],{}," and your project's ",[222,559,260],{},"; no\nworker, account, or network access is involved unless the config names a\nmachine. See ",[534,562,76],{"href":77},[517,564,566],{"id":565},"what-happens-if-the-iroh-relay-is-down","What happens if the iroh relay is down?",[522,568,569,570,257,573,576,577,580,581,584,585,536],{},"Direct QUIC connections keep working when a path can be punched; a connection\nthat needs the relay fails until it recovers. The relay only ever forwards\nciphertext, and you can point the client (",[222,571,572],{},"relay",[222,574,575],{},"~\u002F.ant\u002Fconfig.json",") and\nthe worker (",[222,578,579],{},"--relay URL",") at your own. Address lookup (",[222,582,583],{},"dns.iroh.link",") is a\nseparate service and still uses the default DNS lookup. See\n",[534,586,66],{"href":587},"\u002Fconcepts\u002Ftransport#relays-and-address-lookup",[517,589,591],{"id":590},"can-i-use-my-existing-dockerfile-or-compose-file","Can I use my existing Dockerfile or compose file?",[522,593,594,595,598,599,602,603,606,607,610,611,614,615,291,618,621,622,291,625,628,629,536],{},"Yes. ",[222,596,597],{},"ant nest init"," detects a ",[222,600,601],{},"Dockerfile"," (",[222,604,605],{},"build: dockerfile",") or a compose\nfile (",[222,608,609],{},"run: compose",") and leaves the file in charge. Compose specifics: every\nservice that declares ",[222,612,613],{},"build:"," is built on the target machine, and the\nfeatures Ant cannot reproduce yet (",[222,616,617],{},"build.target",[222,619,620],{},"build.secrets",",\n",[222,623,624],{},"build.ssh",[222,626,627],{},"build.additional_contexts",") are refused rather than ignored;\nprebuild the image and reference it instead. A running hand-managed stack is\nnever adopted automatically; the cutover recipe is in\n",[534,630,90],{"href":91},[517,632,634],{"id":633},"how-do-i-move-my-account-to-another-machine","How do I move my account to another machine?",[522,636,637],{},"Export the portable credential bundle on the old machine and restore it on the\nnew one:",[639,640,645],"pre",{"className":641,"code":642,"language":643,"meta":644,"style":644},"language-sh shiki shiki-themes material-theme-lighter github-light github-dark","ant colony export --out ant-account.json          # passphrase-encrypted by default\n# copy the file to the other machine, then:\nant colony login --bundle ant-account.json\n","sh","",[222,646,647,655,661],{"__ignoreMap":644},[648,649,652],"span",{"class":650,"line":651},"line",1,[648,653,654],{},"ant colony export --out ant-account.json          # passphrase-encrypted by default\n",[648,656,658],{"class":650,"line":657},2,[648,659,660],{},"# copy the file to the other machine, then:\n",[648,662,664],{"class":650,"line":663},3,[648,665,666],{},"ant colony login --bundle ant-account.json\n",[522,668,669],{},"The NodeID does not change, so every machine roster that already names you\nkeeps working. The bundle is the account key: keep it, and its passphrase,\nsomewhere safe.",[517,671,673],{"id":672},"does-the-dashboard-need-auth","Does the dashboard need auth?",[522,675,676,677,680,681,683,684,316,686,536],{},"No. ",[222,678,679],{},"ant ui"," binds loopback and has no authentication; it is one dashboard per\noperator against their own ",[222,682,531],{},". The trust boundary is the local account:\nany local user or process that can reach the loopback port can do what you can\nthere. There is no hosted or multi-user dashboard, and machine access is still\ngoverned by each machine's colony roster. See\n",[534,685,30],{"href":31},[534,687,125],{"href":126},[190,689,691],{"id":690},"next","Next",[693,694,695,700,704],"ul",{},[696,697,698],"li",{},[534,699,160],{"href":161},[696,701,702],{},[534,703,130],{"href":131},[696,705,706],{},[534,707,100],{"href":101},[709,710,711],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":644,"searchDepth":657,"depth":657,"links":713},[714,715,723],{"id":192,"depth":657,"text":193},{"id":514,"depth":657,"text":515,"children":716},[717,718,719,720,721,722],{"id":519,"depth":663,"text":520},{"id":539,"depth":663,"text":540},{"id":565,"depth":663,"text":566},{"id":590,"depth":663,"text":591},{"id":633,"depth":663,"text":634},{"id":672,"depth":663,"text":673},{"id":690,"depth":657,"text":691},"The common failures, what causes them, and the shortest fix.","md",null,{},{"icon":168},{"title":165,"description":730},"Fixes for Docker, ports, Caddy, domains, NodeID and protocol mismatches, invites, ping, stuck deploys, disk, and musl; plus frequent questions.","e0JEE0VSNqDOWhDPrBE4qAZV212T2K0KKHcuZI_duhQ",[733,735],{"title":160,"path":161,"stem":162,"description":734,"icon":163,"children":-1},"Copy-paste workflows for common shapes, from a static site to CI deploys.",{"title":170,"path":171,"stem":172,"description":736,"icon":173,"children":-1},"How Ant relates to SSH scripts, Kamal, Dokku, Coolify, and managed platforms.",1791938555152]