Skip to content

你好,关于docker容器传参数的设置 #87

@honghh2018

Description

@honghh2018

你好,谢谢提供一个gitlab的代码管理容器。
最近我想设置一个数据分析的容器,使用Dockerfile进行,想设置一个数据输入输出参数接口,如下面这种形式:
docker run -it --rm
-v /path/to/data:/scenicdata
aertslab/pyscenic:[version] pyscenic ctx
/scenicdata/expr_mat.adjacencies.tsv
/scenicdata/hg19-tss-centered-5kb-7species.mc9nr.feather
/scenicdata/hg19-tss-centered-10kb-7species.mc9nr.feather
--annotations_fname /scenicdata/motifs-v9-nr.hgnc-m0.001-o0.0.tbl
--expression_mtx_fname /scenicdata/expr_mat.tsv
--mode "dask_multiprocessing"
--output /scenicdata/regulons.csv
--num_workers 6

如:--annotations_fname这种参数在dockerfile中如何书写呢?
CMD ["pyscenic","annotations_fname"] 这样吗?

祝好,
Honghanhui

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions