When use shell inside docker,previous command(ctrl+p) do not refresh^C not working in zsh on Mac OSXWhy is my...
When were female captains banned from Starfleet?
What is the evidence for the "tyranny of the majority problem" in a direct democracy context?
How do apertures which seem too large to physically fit work?
Has any country ever had 2 former presidents in jail simultaneously?
How does a computer interpret real numbers?
How to explain what's wrong with this application of the chain rule?
What should you do if you miss a job interview (deliberately)?
Can I still be respawned if I die by falling off the map?
PTIJ: Haman's bad computer
The IT department bottlenecks progress. How should I handle this?
Does Doodling or Improvising on the Piano Have Any Benefits?
Does IPv6 have similar concept of network mask?
Store Credit Card Information in Password Manager?
Why is the "ls" command showing permissions of files in a FAT32 partition?
How do you respond to a colleague from another team when they're wrongly expecting that you'll help them?
Open a doc from terminal, but not by its name
Limits and Infinite Integration by Parts
Why "had" in "[something] we would have made had we used [something]"?
Is there an injective, monotonically increasing, strictly concave function from the reals, to the reals?
Why does the Sun have different day lengths, but not the gas giants?
Can I say "fingers" when referring to toes?
How can I write humor as character trait?
How should I respond when I lied about my education and the company finds out through background check?
Why Shazam when there is already Superman?
When use shell inside docker,previous command(ctrl+p) do not refresh
^C not working in zsh on Mac OSXWhy is my $PATH different in the executed script?Specific command not recognized in only one shellHow to delete old $PATH echo in MacReadline stops working randomlyreading stdout in pipeline using “-” fails for “docker exec”How to create symbolic links in /usr/bin on a Mac?Why is Docker able to handle SIGTERM only with & wait command?SSH client can not connect inside the docker containerhow to use virtualbox inside docker
I'm new to Docker,and I had a running container with ubuntu16.
I usually connect the container with command:
docker exec -it 7e3 /usr/bin/zsh
Then when I use shell inside the Docker,when input "ctrl+p" to show the previous command,the Terminal did not refresh and nothing shows,I have to press something else to make it refresh;My Terminal is iTerm on Macos Mojave;
I did some search on Goolgle such as "docker shell not refresh", but the keyword is not exact and nothing useful I could find.
shell zsh docker
New contributor
add a comment |
I'm new to Docker,and I had a running container with ubuntu16.
I usually connect the container with command:
docker exec -it 7e3 /usr/bin/zsh
Then when I use shell inside the Docker,when input "ctrl+p" to show the previous command,the Terminal did not refresh and nothing shows,I have to press something else to make it refresh;My Terminal is iTerm on Macos Mojave;
I did some search on Goolgle such as "docker shell not refresh", but the keyword is not exact and nothing useful I could find.
shell zsh docker
New contributor
add a comment |
I'm new to Docker,and I had a running container with ubuntu16.
I usually connect the container with command:
docker exec -it 7e3 /usr/bin/zsh
Then when I use shell inside the Docker,when input "ctrl+p" to show the previous command,the Terminal did not refresh and nothing shows,I have to press something else to make it refresh;My Terminal is iTerm on Macos Mojave;
I did some search on Goolgle such as "docker shell not refresh", but the keyword is not exact and nothing useful I could find.
shell zsh docker
New contributor
I'm new to Docker,and I had a running container with ubuntu16.
I usually connect the container with command:
docker exec -it 7e3 /usr/bin/zsh
Then when I use shell inside the Docker,when input "ctrl+p" to show the previous command,the Terminal did not refresh and nothing shows,I have to press something else to make it refresh;My Terminal is iTerm on Macos Mojave;
I did some search on Goolgle such as "docker shell not refresh", but the keyword is not exact and nothing useful I could find.
shell zsh docker
shell zsh docker
New contributor
New contributor
New contributor
asked 11 mins ago
rainyluorainyluo
1
1
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
rainyluo is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1416533%2fwhen-use-shell-inside-docker-previous-commandctrlp-do-not-refresh%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
rainyluo is a new contributor. Be nice, and check out our Code of Conduct.
rainyluo is a new contributor. Be nice, and check out our Code of Conduct.
rainyluo is a new contributor. Be nice, and check out our Code of Conduct.
rainyluo is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1416533%2fwhen-use-shell-inside-docker-previous-commandctrlp-do-not-refresh%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown