<h2class="anchor anchorWithStickyNavbar_JmGV"id="parameters">Parameters<ahref="#parameters"class="hash-link"aria-label="Direct link to Parameters"title="Direct link to Parameters"></a></h2>
<h3class="anchor anchorWithStickyNavbar_JmGV"id="engineid">engineId<ahref="#engineid"class="hash-link"aria-label="Direct link to engineId"title="Direct link to engineId"></a></h3>
<p>the id of the engine managing the container, obtained from the result of <ahref="/api/@podman-desktop/namespaces/containerEngine/functions/listContainers">containerEngine.listContainers</a></p>
<h3class="anchor anchorWithStickyNavbar_JmGV"id="id">id<ahref="#id"class="hash-link"aria-label="Direct link to id"title="Direct link to id"></a></h3>
<p>the id of the container on this engine, obtained from the result of <ahref="/api/@podman-desktop/namespaces/containerEngine/functions/listContainers">containerEngine.listContainers</a> or as the result of <ahref="/api/@podman-desktop/namespaces/containerEngine/functions/createContainer">containerEngine.createContainer</a></p>
<h3class="anchor anchorWithStickyNavbar_JmGV"id="callback">callback<ahref="#callback"class="hash-link"aria-label="Direct link to callback"title="Direct link to callback"></a></h3>
<p>the function called when new logs are emitted or new events happen on the stream. The value of <code>name</code> can be either <code>data</code> (and <code>data</code> contains the logs), or <code>end</code> indicating the end of the stream, or <code>first-message</code> indicating no data has been emitted yet on the stream.</p>
<h2class="anchor anchorWithStickyNavbar_JmGV"id="returns">Returns<ahref="#returns"class="hash-link"aria-label="Direct link to Returns"title="Direct link to Returns"></a></h2>
<p><code>Promise</code><<code>void</code>></p></div></article><navclass="docusaurus-mt-lg pagination-nav"aria-label="Docs pages"><aclass="pagination-nav__link pagination-nav__link--prev"href="/api/@podman-desktop/namespaces/containerEngine/functions/listVolumes"><divclass="pagination-nav__sublabel">Previous</div><divclass="pagination-nav__label">listVolumes</div></a><aclass="pagination-nav__link pagination-nav__link--next"href="/api/@podman-desktop/namespaces/containerEngine/functions/pullImage"><divclass="pagination-nav__sublabel">Next</div><divclass="pagination-nav__label">pullImage</div></a></nav></div></div><divclass="col col--3"><divclass="tableOfContents_XG6w thin-scrollbar theme-doc-toc-desktop"><ulclass="table-of-contents table-of-contents__left-border"><li><ahref="#parameters"class="table-of-contents__link toc-highlight">Parameters</a><ul><li><ahref="#engineid"class="table-of-contents__link toc-highlight">engineId</a></li><li><ahref="#id"class="table-of-contents__link toc-highlight">id</a></li><li><ahref="#callback"class="table-of-contents__link toc-highlight">callback</a></li></ul></li><li><ahref="#returns"class="table-of-contents__link toc-highlight">Returns</a></li></ul></div></div></div></div></main></div></div></div><footerclass="theme-layout-footer footer"><divclass="container container-fluid"><divclass="row footer__links"><divclass="theme-layout-footer-column col footer__col"><divclass="footer__title">Documentation</div><ulclass="footer__items clean-list"><liclass="footer__item"><aclass="footer__link-item"href="/docs/installation">Installing Podman Desktop</a></li><liclass="footer__item"><aclass="footer__link-item"href="/docs/migrating-from-docker">Migrating from Docker</a></li><liclass="footer__item"><aclass="footer__link-item"href="/docs/kubernetes">Working with Kubernetes</a></li><liclass="footer__item"><aclass="footer__link-item"href="/docs/troubleshooting">Troubleshooting</a></li></ul></div><divclass="theme-layout-footer-column col footer__col"><divclass="footer__title">Links</div><ulclass="footer__items clean-list"><liclass="footer__item"><ahref="https://github.com/podman-desktop/podman-desktop"target="_blank"rel="noopener noreferrer"class="footer__link-item">GitHub<svgwidth="13.5"height="13.5"aria-hidden="true"class="iconExternalLink_nPrP"><usehref="#theme-svg-external-link"></use></svg></a></li><liclass="footer__item"><ahref="https://discord.com/invite/x5GzFF6QH4"target="_blank"rel="noopener noreferrer"class="footer__link-item">Chat (bridged): #podman-desktop on Discord<svgwidth="13.5"height="13.5"aria-hidden="true"class="iconExternalLink_nPrP"><usehref="#theme-svg-external-link"></use></svg></a></li><liclass="footer__item"><ahref="https://github.com/podman-desktop/podman-desktop#communication"target="_blank"rel="noopener noreferrer"class="footer__link-item">Other ways to Communicate<svgwidth="13.5"height="13.5"aria-hidden="true"class="iconExternalLink_nPrP"><usehref="#theme-svg-external-link"></use></svg></a></li><liclass="footer__item"><ahref="https://github.com/orgs/podman-desktop/projects/4/views/3"target="_blank"rel="noopener noreferrer"class="footer__link-item">Current Sprint<svgwidth="13.5"height="13.5"aria-hidden="true"class="iconExternalLink_nPrP"><usehref="#theme-svg-external-link"></use></svg></a></li></ul></div></div><divclass="footer__bottom text--center"><divclass="footer__copyright">