• Skip to primary navigation
  • Skip to content
  • Skip to footer
text.sickhack.net - 四苦八苦計画文書
  • Posts (⚠️not working)
  • Pages
  • Tags
  • Sickhack.net Main

    Haruki Sato

    Animal. Homo sapiens. Software Engineer. Manager. Hoping to be an amazing person. See <Profile> for more info.

    • Tokyo, Japan
    • Twitter
    • GitHub

    Investigations - Docker

    less than 1 minute read

    On this page

    • Notes
      • Tips
        • Cleanup
      • Debugging
      • Argument Passing
      • Typical Images
      • Mount Local Directories
    • References

    Notes

    • Installation on Debian/Ubuntu based: https://docs.docker.com/engine/install/debian/

      • Can install in WSL2 !

        • https://tech.buty4649.net/entry/2022/10/20/162036

      • Can install Linux on ChromeOS !

    • Rootless Mode

      • https://docs.docker.com/engine/security/rootless/

    • User in docker

      • https://stackoverflow.com/questions/52070171/whats-the-default-user-for-docker-exec

      • https://tech.uzabase.com/entry/2023/01/18/154317

    • Security

      • https://docs.docker.com/engine/security/

    Tips

    Cleanup

    • https://docs.docker.jp/config/pruning.html

      • docker image prune

    • https://qiita.com/hyt-sasaki/items/e2cbc4cfb5ae698de498

      • docker builder prune

    Debugging

    • https://pythonspeed.com/articles/debugging-docker-build/

    Argument Passing

    • https://stackoverflow.com/questions/40873165/use-docker-run-command-to-pass-arguments-to-cmd-in-dockerfile

      • https://docs.docker.com/engine/reference/builder/#exec-form-entrypoint-example

    Typical Images

    • MySQL - https://hub.docker.com/_/mysql

      • https://www.kagoya.jp/howto/cloud/container/dockermysql/

    Mount Local Directories

    • https://ritviknag.com/tech-tips/how-to-mount-current-working-directory-to-your-docker-container/

    References

    • https://docs.docker.com/engine/install/debian/#install-using-the-repository

    Tags: virtualization

    Updated: September 29, 2024

    Twitter Facebook LinkedIn
    Previous Next

    You May Also Enjoy

    Testing Markdown

    less than 1 minute read

    Testing Markdown

    Testing HTML

    less than 1 minute read

    Testing HTML

    Welcome to Jekyll!

    less than 1 minute read

    You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different wa...

    • Feed
    © 2025 Haruki Sato. Powered by Jekyll & Minimal Mistakes.