Mapping a container port
After working on a container project for a bit, your manager asks that you make a container image accessible from a given host system. She would like you to check with the marketing department's IT contact and determine which port they need to be available for their application.
Bu egzersiz
Intermediate Docker
kursunun bir parçasıdırEgzersiz talimatları
- Use the appropriate command to make port 7000 on the container instance available at port 9898 on the host, using the container image
nginx:1.27-alpine. Make sure to add the-dflag to return to the command prompt.
Uygulamalı interaktif egzersiz
İnteraktif egzersizlerimizden biriyle teoriyi pratiğe dökün
Egzersizi başlat