L
L
lilikon2019-11-07 12:14:26
Disk image
lilikon, 2019-11-07 12:14:26

How to block access to files that are in a docker container?

There is a project that is built in docker via docker-compose.yml, it has several containers, there is a base and there is a project code. The project itself is a web resource.
There was a task, it is necessary to transfer the given project for registration in the register. They just don't need access to the web resource. An installation distribution is required so that their specialist can install this project only on a local machine.
If you just give docker-compose.yml and just load it from the registry, then in the end they can go either into the image or into the container and see the project code there.
If you make an image through a virtual machine, then resetting the password is not difficult, I already found commands to reset the root password, it turns out that it also disappears.
What other options are there? I beg you to advise!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Karasik, 2019-11-07
@vitaly_il1

In general, no way.
That is, you can play around with encryption / obfuscation, but since the program must run, then with more or less difficulty you can get the code - if we are talking about interpreted languages.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question