Ben Chuanlong Du's Blog

It is never too late to learn.

Docker on Mac

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. It is suggested that you install the offical docker app on Mac instead of installing docker using MacPorts/Homebrew. Docker installed using MacPorts/Homebrew might have issues to start.

  2. By default …

User in Docker

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

User switching in Docker

  1. USER some_user in Dockerfile, some_user has to exists
  2. su in Dockerfile or shell scripts
  3. docker run --user some_user

@pedrolucasoliva i am docker specialist i give you a …

Docker Images for Zeppelin

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Official Zeppelin Docker Image

  1. Pull the official Zeppelin Docker image.

    docker pull apache/zeppelin
    
  2. Launch the image in a container.

    docker run -d -p 8080:8080 \
        -v $PWD/logs:/logs \
        -v …