The Essential Docker Commands You Need to Know

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024

ความคิดเห็น • 3

  • @MarioMontDEV
    @MarioMontDEV 10 หลายเดือนก่อน

    Excellent tutorial. I'm hitting a roadblock when I try to see the logs from the bash terminal window on a Mac. I get the message "bash: docker: command not found". According to an article I read it could happen when the Docker command is likely not in your shell's PATH environment variable, So I proceeded to add it but keep getting the same error. Please advise.

    • @scriptbytes
      @scriptbytes  10 หลายเดือนก่อน +1

      My first guess would have also been to check the path. After you added it to Path, did you close and re-open the terminal? If you don't it won't reload the env variables.

    • @MarioMontDEV
      @MarioMontDEV 10 หลายเดือนก่อน

      I closed and opened it and it lost the environment variable. FYI I have Docker Desktop installed on a mac running Sonoma@@scriptbytes . I also tried nano ~/.bash_profile cmd and then adding it to the file,save and exit and then trying to ECHO the value but it was still not present. I've been developing using macOS for 6 months now but I'm coming from the .Net/Windows world so excuse me if I'm bothering too much. I just want to be able to complete the whole tutorial while I learn the concepts. Thanks in advance. I just finished the video. I can get that from docker desktop too LOL. Again, thanks for the tutorial.