"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[196],{3905:(e,r,t)=>{t.d(r,{Zo:()=>c,kt:()=>u});vara=t(7294);functiono(e,r,t){returnrine?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}functionn(e,r){vart=Object.keys(e);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);r&&(a=a.filter((function(r){returnObject.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,a)}returnt}functioni(e){for(varr=1;r<arguments.length;r++){vart=null!=arguments[r]?arguments[r]:{};r%2?n(Object(t),!0).forEach((function(r){o(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):n(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}returne}functionp(e,r){if(null==e)return{};vart,a,o=function(e,r){if(null==e)return{};vart,a,o={},n=Object.keys(e);for(a=0;a<n.length;a++)t=n[a],r.indexOf(t)>=0||(o[t]=e[t]);returno}(e,r);if(Object.getOwnPropertySymbols){varn=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)t=n[a],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}returno}vars=a.createContext({}),l=function(e){varr=a.useContext(s),t=r;returne&&(t="function"==typeofe?e(r):i(i({},r),e)),t},c=function(e){varr=l(e.components);returna.createElement(s.Provider,{value:r},e.children)},h="mdxType",m={inlineCode:"code",wrapper:function(e){varr=e.children;returna.createElement(a.Fragment,{},r)}},d=a.forwardRef((function(e,r){vart=e.components,o=e.mdxType,n=e.originalType,s=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),h=l(t),d=o,u=h["".concat(s,".").concat(d)]||h[d]||m[d]||n;returnt?a.createElement(u,i(i({ref:r},c),{},{components:t})):a.createElement(u,i({ref:r},c))}));functionu(e,r){vart=arguments,o=r&&r.mdxType;if("string"==typeofe||o){varn=t.length,i=newArray(n);i[0]=d;varp={};for(varsinr)hasOwnProperty.call(r,s)&&(p[s]=r[s]);p.originalType=e,p[h]="string"==typeofe?e:o,i[1]=p;for(varl=2;l<n;l++)i[l]=t[l];returna.createElement.apply(null,i)}returna.createElement.apply(null,t)}d.displayName="MDXCreateElement"},1723:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>s,contentTitle:()=>i,default:()=>h,frontMatter:()=>n,metadata:()=>p,toc:()=>l});vara=t(7462),o=(t(7294),t(3905));constn={sidebar_position:20,sidebar_label:"Private Share"},i="Docker Private Share",p={unversionedId:"guides/docker-share/docker_private_share_guide",id:"guides/docker-share/docker_private_share_guide",title:"Docker Private Share",description:"With zrok, you can privately share a server app that's running in Docker, or any server that's reachable by the zrok container. Then, a zrok private access running somewhere else can use the private share. In this guide we'll cover both sides: the private share and the private access.",source:"@site/../docs/guides/docker-share/docker_private_share_guide.md",sourceDirName:"guides/docker-share",slug:"/guides/docker-share/docker_private_share_guide",permalink:"/docs/guides/docker-share/docker_private_share_guide",draft:!1,editUrl:"https://github.com/openziti/zrok/blob/main/docs/../docs/guides/docker-share/docker_private_share_guide.md",tags:[],version:"current",sidebarPosition:20,frontMatter:{sidebar_position:20,sidebar_label:"Private Share"},sidebar:"tutorialSidebar",previous:{title:"Public Share",permalink:"/docs/guides/docker-share/docker_public_share_guide"},next:{title:"Downloads",permalink:"/docs/downloads"}},s={},l=[{value:"Walkthrough Video",id:"walkthrough-video",level:2},{value:"Before You Begin",id:"before-you-begin",level:2},{value:"Private Share with Docker Compose",id:"private-share-with-docker-compose",level:2},{value:"Private Access with Docker Compose",id:"private-access-with-docker-compose",level:2},{value:"Going Further with Private Access",id:"going-further-with-private-access",level:2},{value:"Cleaning Up",id:"cleaning-up",level:2}],c={toc:l};functionh(e){let{components:r,...t}=e;return(0,o.kt)("wrapper",(0,a.Z)({},c,t,{components:r,mdxType:"MDXLayout