docker volume create -name src_volumeĭocker run -d -v src_volume:/home/my_user/src -name src_data_1 src_dataĭocker run -rm -it -v src_volume:/src fedeg/python-vim:latest You will be able to edit your data by mounting a Docker volume (src_volume) which will be shared by your data container (src_data) and the python-vim container. RUN chown -R my_user:my_user /home/my_user/src RUN useradd -ms /bin/bash -home /home/my_user \ It assumes that the data you want to edit are in a data container built with the following Dockerfile: FROM debian:jessie You can also use a special container which will contain only the command you need: Vim.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |