Docker Compose File (TensorFlow)
不想把TensorFlow硬生生安裝在作業系統上
剛好它有Docker可以用,何樂不為呢
TensorFlow.yml:
version: '3.1' services: TernsorFlow: container_name: TensorFlow image: tensorflow/tensorflow:latest-py3 restart: unless-stopped network_mode: "bridge" ports: - 6006:6006 tty: true command: /bin/bash volumes: - /Users/AndyWu/Documents/Docker/TensorFlow:/TensorFlow
docker-compose -f TensorFlow.yml up -d
docker exec -it TensorFlow bash
近期迴響