Question: The Nautilus DevOps team has some conditional data present on App Server 1 in Stratos Datacenter. There is a container ubuntu_latest running on the same server. We received a request to copy some of the data from the docker host to the container. Below are more details about the task:
On App Server 1 in Stratos Datacenter copy an encrypted file /tmp/nautilus.txt.gpg from docker host to ubuntu_latest container (running on same server) in /home/ location. Please do not try to modify this file in any way.
Solution:
Login to mentioned server
ssh tony@stapp02
Login as root
sudo su
Then check docker container
docker ps
Copy the file
docker cp /tmp/nautilus.txt.gpg ubuntu_latest:/home
Check the file
docker exec ubuntu_latest ls /home
docker exec ubuntu_latest ls -ltr /home
0 comments:
Post a Comment