airflow with docker(windows)

bommme13·2022년 3월 4일
0

프로젝트

목록 보기
5/6

DAGS: 방향이 있는 비순환그래프

https://hkim-data.tistory.com/2

 194  cd Desktop/ && mkdir docker && cd docker
  195  ls -al
  196  curl -LfO 'https://airflow.apache.org/docs/apache-airflow/2.1.2/docker-compose.yaml'
  197  ls -al
  198  mkdir ./dags ./logs ./plugins
  199  echo -e "AIRFLOW_UID=$(id -u)\nAIRFLOW_GID=0" > .env
  200  ls -al
  201  docker-compose up airflow-init
  202  ls
  203  dir
  204  cd docker
  205  cd Desktop
  206  cd docker
  207  ls -al
  208  docker-compose up airflow-init
  209  docker-compose up
  210  history

--> 안되길래

https://docs.docker.com/compose/install/
*linux 파트 그대로 실행
: 경로가 다 꼬인거같은데 docker-compose가 되긴한다...

 235  sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
  236  pwd
  237  ls -al
  238  sudo chmod +x /usr/local/bin/docker-compose
  239  docker-compose
  240  sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
  241  docker-compose
  242  bash zsh
  243  docker-compose --version
  244  history

vscode 원격조종..?

profile
데이터분석

0개의 댓글