Skip to content

How to add data to the mongodb #26

@learnTech2022

Description

@learnTech2022

Hi, how do i add data files to the mongodb from my local machine.
Now i have data in my local machine and want to add that data to mongodb through dockerfile.

for ex: if i want to copy some project/war file to tomcat, we do following in the the tomcat docker file
COPY ./soucefile/ ./destination/

Likewise, how do i add data to mongodb via docker file

Thanks,
Krishna P

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions