if volumes in docker file is defined as volumes: - .:/code Then the PVC created by kompose will containes .(dot) in it. .-persistentvolumeclaim.yaml