What is Port Forwarding in Docker?
4 phương ánCó giải thích
Các phương án trả lời
Chọn một phương ánLời giảiChọn phương án để mở
Đáp án đúng: "Allowing data to be passed in and out of a docker container and controlling which applications can do this". Mỗi container có mạng riêng, cô lập với máy host. Port forwarding (chuyển tiếp cổng), khai báo bằng tùy chọn -p khi chạy docker run, chẳng hạn -p 8888:8888, nối một cổng của máy host với một cổng bên trong container, nhờ đó yêu cầu từ bên ngoài như trình duyệt mở Jupyter hay gọi API Flask đi được vào container và phản hồi đi ra; chỉ những cổng được công bố mới truy cập được, tức là ta kiểm soát ứng dụng nào được giao tiếp. "The process of creating a data file on the local computer that persists" mô tả việc lưu trữ bền vững bằng volume hoặc bind mount. "Sending one container to multiple nodes on a multicloud environment" là việc của công cụ điều phối như Kubernetes. "Building one Docker image using another docker image as a template" là dùng base image qua chỉ thị FROM trong Dockerfile.
Cùng phần 5
In the script example-spark-submit.sh, what does the #!/bin/bash line indicate?Có lời giảiCâu hỏiWhen you worked on model deployment case study, which modification to the ALS algorithm had the largest effect on model performance?Có lời giảiCâu hỏiDocker containers run a private file system that is isolated from the host and other containers. What is the suggested way to access notebooks and scripts from within the container?Có lời giảiCâu hỏiCả 25 câu của chủ đề25 câu