Skip to content

Commit

Permalink
exec into container directly.
Browse files Browse the repository at this point in the history
  • Loading branch information
chaohengstudent committed Feb 7, 2023
1 parent b4071eb commit 2bb7f0e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker/start_hdfs_fuse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,4 @@ docker run -d --init \
--security-opt apparmor:unconfined \
"$IMAGE_NAME" /bin/bash -c "./fuse_dfs_wrapper.sh -d $HDFS /mnt/hdfs"

echo "================================================="
echo "run docker exec -it -w /mnt/hdfs $CONTAINER_NAME-$HDFS_PORT /bin/bash to access fuse"
echo "================================================="
docker exec -it -w /mnt/hdfs $CONTAINER_NAME-$HDFS_PORT /bin/bash

0 comments on commit 2bb7f0e

Please sign in to comment.