permission denied error in docker

I create the docker image but I am trying to give a parameter to the docker image but I am getting an permission denied error on my file.

Docker File:

  • Sharing the host OS or sharing the Container OS
  • How can I run configuration commands after startup in Docker?
  • How to run aiohttp with gunicorn in docker container?
  • Curl connection refused between applications on Docker container
  • How to modify a config file of tomcat docker container using ansible?
  • Install yarn in a docker container says missing dependency
  • FROM ubuntu
    MAINTAINER  ravat  
    RUN mkdir -p /home/ravata/Desktop/DockerDemo/
    RUN echo “Hello Apache server on Ubuntu Docker” > /home/ravata/Desktop/DockerDemo/index.html
    COPY .
    CMD /bin/bash

    #!/bin/bash -l
    echo $1

    I built the docker image with command:- docker build -t docker-demo .
    Now I am trying to provide parameter to docker Image to run :- docker run -ti docker-demo / ravat

  • Run a docker with specific ip address
  • Staging and Production on Kubernetes
  • Jenkins docker cache not working
  • What is the step by step process to deploy a java app to Docker?
  • Docker read file from local system when container is running
  • Why does the thrift docker image need go
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.