[Intro Music]
Alright, we have just successfully
pulled and used custom image
that has 'curl' utility already
installed inside of it. And now challenge time.
[Background Music]
You need to create two containers in the custom
network. Details are following -
First, please create a custom
network called 'elasticsearch', it
will be new bridge network. Next,
please pull 'elasticsearch' image,
use 'latest' tag if you want. Next,
you need to create two containers
'elasticsearch' container and 'curl'
container based on this image that
we have just used, image is called
'appropriate/curl'. And
you need to use custom names for
both images in order to allow
communication between them by
names. Also, for 'elasticsearch'
image, you need to use port mapping;
and you need to expose port 9200
to external world. And afterwards,
after launch of those two
containers, please verify whether
you are able to connect to external
port 9200 in your web browser or
not. Also, please start the second
container with sh command that will
override the default 'curl' command.
And afterwards, please stop and
watch the next video where I have
actually do the same. But
afterwards, we will try to create a
new index in 'Elasticsearch'
database, insert some documents
there, and perform searches in that
database. And we will do that from
the second container. And also we
will use name 'elasticsearch' to
connect to 'elasticsearch' container.
So, here's another important notice.
Please use name 'elasticsearch' for
'elasticsearch' container. So I wish
you good luck, and next I will show
you how to do it myself. Bye-Bye.
[no audio]