René's URL Explorer Experiment


Title: interact with container bash with execStart · Issue #342 · docker-php/docker-php · GitHub

Open Graph Title: interact with container bash with execStart · Issue #342 · docker-php/docker-php

X Title: interact with container bash with execStart · Issue #342 · docker-php/docker-php

Description: I want to interact with bash. I get output from container but I can't send anything to container. i want to write container stdin but i cant . It is very vital this issue. please answer quickly. I think I should do something with Tty. my...

Open Graph Description: I want to interact with bash. I get output from container but I can't send anything to container. i want to write container stdin but i cant . It is very vital this issue. please answer quickly. I ...

X Description: I want to interact with bash. I get output from container but I can't send anything to container. i want to write container stdin but i cant . It is very vital this issue. please answer quickly...

Opengraph URL: https://github.com/docker-php/docker-php/issues/342

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"interact with container bash with execStart ","articleBody":"**I want to interact with bash. I get output from container but I can't send anything to container. i want to write container stdin but i cant .\r\nIt is very vital this issue. please answer quickly.\r\nI think I should do something with Tty.**\r\n\r\n_**my snippet of code is  below:**_\r\n\r\n     $remoteSocket ='192.168.85.34:2375';\r\n     $ssl = false;\r\n    // Connect to Docker\r\n    $client = DockerClientFactory::create([\r\n    'remote_socket' =\u003e $remoteSocket,\r\n    'ssl' =\u003e $ssl\r\n    ]);\r\n    $docker = Docker::create($client);\r\n\r\n    $config = new ContainersCreatePostBody();\r\n    $config-\u003esetTty(true);\r\n    $config-\u003esetOpenStdin(true);\r\n    $config-\u003esetAttachStderr(true);\r\n    $config-\u003esetAttachStdout(true);\r\n    $config-\u003esetAttachStdin(true);\r\n    $config-\u003esetStdinOnce(false);\r\n    $config-\u003esetImage(\"test:2\"); \r\n\r\n    $creation = $docker-\u003econtainerCreate($config);\r\n    $docker-\u003econtainerStart($creation-\u003egetId());\r\n    \r\n    $execConfig = new ContainersIdExecPostBody();\r\n    $execConfig-\u003esetTty(true);\r\n    $execConfig-\u003esetAttachStdout(true);\r\n    $execConfig-\u003esetAttachStderr(true);\r\n    $execConfig-\u003esetAttachStdin(true);\r\n    $execConfig-\u003esetCmd(['/bin/bash']);\r\n    $execid = $docker-\u003econtainerExec($creation-\u003egetId(),$execConfig)-\u003egetId();\r\n\r\n    $execStartConfig = new ExecIdStartPostBody();\r\n    $execStartConfig-\u003esetDetach(false);\r\n    // Execute the command\r\n\r\n    $stream = $docker-\u003eexecStart($execid,$execStartConfig);\r\n\r\n   \r\n    $stream-\u003eonStdout(function ($stdout) {\r\n        echo $stdout;\r\n    });\r\n    $stream-\u003eonStderr(function ($stderr) {\r\n        print_r(\"err: \".$stderr.\"\\n\");\r\n    });\r\n    $stream-\u003ewait();\r\n\r\nThanks in advance.","author":{"url":"https://github.com/mohammadreza-soft74","@type":"Person","name":"mohammadreza-soft74"},"datePublished":"2018-12-06T06:09:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/342/docker-php/issues/342"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ef3e8953-ef75-6827-0033-ce244d78c172
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAB6A:E7822:C3FCD66:FD30BAE:6976C7D2
html-safe-nonce5763abf7886a99959fb87c5e495ab3ca66a59cd20182f820bf0f2ad9a3b5d9e5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjZBOkU3ODIyOkMzRkNENjY6RkQzMEJBRTo2OTc2QzdEMiIsInZpc2l0b3JfaWQiOiI2MzQ4MzU3MjQ0NjMwMjU1NTcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf3911e9914676e29e2fef1cae5656bbe9c79c51d9f90e47181bdc888bb5d3196
hovercard-subject-tagissue:388070316
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/docker-php/docker-php/342/issue_layout
twitter:imagehttps://opengraph.githubassets.com/26ccf759391e91bc5c66d096a68c82daa3b992bfdc2d75ef145732400988498e/docker-php/docker-php/issues/342
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/26ccf759391e91bc5c66d096a68c82daa3b992bfdc2d75ef145732400988498e/docker-php/docker-php/issues/342
og:image:altI want to interact with bash. I get output from container but I can't send anything to container. i want to write container stdin but i cant . It is very vital this issue. please answer quickly. I ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemohammadreza-soft74
hostnamegithub.com
expected-hostnamegithub.com
None032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411
turbo-cache-controlno-preview
go-importgithub.com/docker-php/docker-php git https://github.com/docker-php/docker-php.git
octolytics-dimension-user_id16955543
octolytics-dimension-user_logindocker-php
octolytics-dimension-repository_id15030753
octolytics-dimension-repository_nwodocker-php/docker-php
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id15030753
octolytics-dimension-repository_network_root_nwodocker-php/docker-php
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5b577f6be6482e336e3c30e8daefa30144947b17
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/docker-php/docker-php/issues/342#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocker-php%2Fdocker-php%2Fissues%2F342
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocker-php%2Fdocker-php%2Fissues%2F342
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=docker-php%2Fdocker-php
Reloadhttps://patch-diff.githubusercontent.com/docker-php/docker-php/issues/342
Reloadhttps://patch-diff.githubusercontent.com/docker-php/docker-php/issues/342
Reloadhttps://patch-diff.githubusercontent.com/docker-php/docker-php/issues/342
docker-php https://patch-diff.githubusercontent.com/docker-php
docker-phphttps://patch-diff.githubusercontent.com/docker-php/docker-php
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fdocker-php%2Fdocker-php
Fork 270 https://patch-diff.githubusercontent.com/login?return_to=%2Fdocker-php%2Fdocker-php
Star 768 https://patch-diff.githubusercontent.com/login?return_to=%2Fdocker-php%2Fdocker-php
Code https://patch-diff.githubusercontent.com/docker-php/docker-php
Issues 43 https://patch-diff.githubusercontent.com/docker-php/docker-php/issues
Pull requests 1 https://patch-diff.githubusercontent.com/docker-php/docker-php/pulls
Actions https://patch-diff.githubusercontent.com/docker-php/docker-php/actions
Projects 0 https://patch-diff.githubusercontent.com/docker-php/docker-php/projects
Security 0 https://patch-diff.githubusercontent.com/docker-php/docker-php/security
Insights https://patch-diff.githubusercontent.com/docker-php/docker-php/pulse
Code https://patch-diff.githubusercontent.com/docker-php/docker-php
Issues https://patch-diff.githubusercontent.com/docker-php/docker-php/issues
Pull requests https://patch-diff.githubusercontent.com/docker-php/docker-php/pulls
Actions https://patch-diff.githubusercontent.com/docker-php/docker-php/actions
Projects https://patch-diff.githubusercontent.com/docker-php/docker-php/projects
Security https://patch-diff.githubusercontent.com/docker-php/docker-php/security
Insights https://patch-diff.githubusercontent.com/docker-php/docker-php/pulse
interact with container bash with execStart https://patch-diff.githubusercontent.com/docker-php/docker-php/issues/342#top
https://github.com/mohammadreza-soft74
https://github.com/mohammadreza-soft74
mohammadreza-soft74https://github.com/mohammadreza-soft74
on Dec 6, 2018https://github.com/docker-php/docker-php/issues/342#issue-388070316
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.