Skip to content

Commit 3ea54a4

Browse files
lab Spark : docker-compose update with the correct mc command entrypoint
1 parent bf7862b commit 3ea54a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootcamp/materials/3-spark-fundamentals/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ services:
6666
- AWS_REGION=us-east-1
6767
entrypoint: >
6868
/bin/sh -c "
69-
until (/usr/bin/mc config host add minio http://minio:9000 admin password) do echo '...waiting...' && sleep 1; done;
69+
until (/usr/bin/mc alias set minio http://minio:9000 admin password) do echo '...waiting...' && sleep 1; done;
7070
/usr/bin/mc rm -r --force minio/warehouse;
7171
/usr/bin/mc mb minio/warehouse;
7272
/usr/bin/mc policy set public minio/warehouse;

0 commit comments

Comments
 (0)