docker-compose.yml 539 B

12345678910111213141516171819202122
  1. version: '2'
  2. services:
  3. jupyter:
  4. # hostname: jupyter
  5. container_name: jupyter
  6. restart: always
  7. image: jupyter:dag
  8. privileged: true
  9. ipc: host
  10. tty: true
  11. # network_mode: "host"
  12. # working_dir: /workspace
  13. ports:
  14. - '25522:8888'
  15. # - '8998:8998'
  16. # - '22522:22'
  17. # - "10000-10010:10000-10010"
  18. volumes:
  19. # - ./config.json:/home/sxkj/.sparkmagic/config.json
  20. - ./:/workspace
  21. - ./confs/krb5.conf:/etc/krb5.conf
  22. - ./confs/config.json:/root/.sparkmagic/config.json