12345678910111213141516171819202122 |
- version: '2'
- services:
- jupyter:
- # hostname: jupyter
- container_name: jupyter
- restart: always
- image: jupyter:dag
- privileged: true
- ipc: host
- tty: true
- # network_mode: "host"
- # working_dir: /workspace
- ports:
- - '25522:8888'
- # - '8998:8998'
- # - '22522:22'
- # - "10000-10010:10000-10010"
- volumes:
- # - ./config.json:/home/sxkj/.sparkmagic/config.json
- - ./:/workspace
- - ./confs/krb5.conf:/etc/krb5.conf
- - ./confs/config.json:/root/.sparkmagic/config.json
|