How to explore running docker container or image?

Let us directly move into Running WSO2 Enterprise Integrator image on Docker.
- Run the WSO2EI-6.5.0 on the docker. Since this image is not available in the local file system, it will be pulled and the ports will be mapped as specified. You can see the server is getting started in the terminal since we are using ‘-it’ option here.
docker run -it \
-p 8280:8280 \
-p 8243:8243 \
-p 9443:9443 \
wso2/wso2ei-integrator
2. Open another tab instance and find the id/name of the container by using the following command which will list the currently running containers.
docker ps
3. You will get an output like below.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMESf7a69a128d41 wso2/wso2ei-integrator "/home/wso2carbon/do…" 2 hours ago Up 7 seconds 0.0.0.0:8243->8243/tcp, 0.0.0.0:8280->8280/tcp, 4100/tcp, 0.0.0.0:9443->9443/tcp condescending_borg
4. Now you can access the file system as below. Note that our container ID is f7a69a128d41.
docker exec -it <container name/ID> bash
It will be as below.
docker exec -it f7a69a128d41 bash
5. You will get the below output.
Welcome to WSO2 Docker resources.------------------------------------This Docker container comprises of a WSO2 product, running with its latest GA releasewhich is under the Apache License, Version 2.0.Read more about Apache License, Version 2.0 here @ http://www.apache.org/licenses/LICENSE-2.0.
6. Now you can access folders as usual.
cd /home/wso2carbon/wso2ei-6.5.0
ls