When using shell inside Docker, previous command (Ctrl+P) does not refreshWhy is my $PATH different in the...
What does "Scientists rise up against statistical significance" mean? (Comment in Nature)
Recommended PCB layout understanding - ADM2572 datasheet
Why would a new[] expression ever invoke a destructor?
Multiplicative persistence
What are some good ways to treat frozen vegetables such that they behave like fresh vegetables when stir frying them?
A social experiment. What is the worst that can happen?
Why is the "ls" command showing permissions of files in a FAT32 partition?
The IT department bottlenecks progress. How should I handle this?
Why does AES have exactly 10 rounds for a 128-bit key, 12 for 192 bits and 14 for a 256-bit key size?
How to fade a semiplane defined by line?
How much character growth crosses the line into breaking the character
What if a revenant (monster) gains fire resistance?
Extract more than nine arguments that occur periodically in a sentence to use in macros in order to typset
Creepy dinosaur pc game identification
Non-trope happy ending?
Limits and Infinite Integration by Parts
How do you respond to a colleague from another team when they're wrongly expecting that you'll help them?
Why does a simple loop result in ASYNC_NETWORK_IO waits?
Why does the Sun have different day lengths, but not the gas giants?
Does the Linux kernel need a file system to run?
Can a Canadian Travel to the USA twice, less than 180 days each time?
Temporarily disable WLAN internet access for children, but allow it for adults
Calculating total slots
What is the evidence for the "tyranny of the majority problem" in a direct democracy context?
When using shell inside Docker, previous command (Ctrl+P) does not refresh
Why is my $PATH different in the executed script?how to make ctrl+p behave exactly like up arrow in zsh?Zsh not recognizing file changes with search pathDefault shell for running scripts (w/o shebang) in macos?How to delete old $PATH echo in MacShowing docker container name in ps listreading stdout in pipeline using “-” fails for “docker exec”How to create symbolic links in /usr/bin on a Mac?SSH client can not connect inside the docker containerVisual Studio Code not working with Zsh on Linux
I'm new to Docker, and I had a running container with Ubuntu 16.
I usually connect the container with the command:
docker exec -it 7e3 /usr/bin/zsh
Then, when I use the shell inside the Docker,
when I type 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 Google, such as "docker shell not refresh",
but I could not find anything useful.
shell zsh docker
New contributor
add a comment |
I'm new to Docker, and I had a running container with Ubuntu 16.
I usually connect the container with the command:
docker exec -it 7e3 /usr/bin/zsh
Then, when I use the shell inside the Docker,
when I type 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 Google, such as "docker shell not refresh",
but I could not find anything useful.
shell zsh docker
New contributor
add a comment |
I'm new to Docker, and I had a running container with Ubuntu 16.
I usually connect the container with the command:
docker exec -it 7e3 /usr/bin/zsh
Then, when I use the shell inside the Docker,
when I type 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 Google, such as "docker shell not refresh",
but I could not find anything useful.
shell zsh docker
New contributor
I'm new to Docker, and I had a running container with Ubuntu 16.
I usually connect the container with the command:
docker exec -it 7e3 /usr/bin/zsh
Then, when I use the shell inside the Docker,
when I type 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 Google, such as "docker shell not refresh",
but I could not find anything useful.
shell zsh docker
shell zsh docker
New contributor
New contributor
edited 4 mins ago
Scott
16.1k113990
16.1k113990
New contributor
asked 1 hour 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-using-shell-inside-docker-previous-command-ctrlp-does-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-using-shell-inside-docker-previous-command-ctrlp-does-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