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













0















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.










share|improve this question







New contributor




rainyluo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    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.










    share|improve this question







    New contributor




    rainyluo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      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.










      share|improve this question







      New contributor




      rainyluo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      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






      share|improve this question







      New contributor




      rainyluo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      rainyluo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      rainyluo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 11 mins ago









      rainyluorainyluo

      1




      1




      New contributor




      rainyluo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      rainyluo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      rainyluo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          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.










          draft saved

          draft discarded


















          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.










          draft saved

          draft discarded


















          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...