- Trassfer file/files from one machine to another pscp -r currentMAchinePAth username@localIp:destination path
pscp -r D:\ABC\XYZ\CDF [email protected]:/home/vikash2402/project/xyz
-
get into a root environment sudo su
-
check running dockers docker ps
-
get inside a container shell
docker exec -t -i container_name /bin/bash
docker exec -t -i my_container /bin/bash
- using docker - host to container vice versa file sharing
docker cp sourcepath continerName:path
docker cp /home/vikash2402/xyz my_container:/app/xyz/
docker cp foo.txt my_container:/foo.txt
docker cp my_container:/foo.txt foo.txt
-
Find a File find / -name abcd.txt
-
get geditor sudo apt-get install gedit
-
remove all files from including directry rm -rf mydir
-
install make sudo apt-get update sudo apt-get install build-essential
-
install vim
sudo apt-get install vim
-
Insatll unixODBC https://help.sap.com/viewer/4ed80c6b3a854bf0a3596b18e5ad5cd9/2.0.01/en-US/e783b19c6f0f10149a438f15eda0ba9f.html
-
Install SAP hana client https://blogs.sap.com/2012/09/14/install-hana-client-on-ubuntu/
-
Test sap hana connection https://blogs.sap.com/2012/09/14/hana-with-odbc-on-ubuntu-1204/
Command to build docker image –
Syntax : sudo docker build -t .
Example : sudo docker build -t abcFile .
Command to run docker image –
Syntax : sudo docker run -p :80
Example : sudo docker run -p 5001:80 abcFile
Please Note:
-
Package files to be kept in the folder named as publish
-
Docker file to be present in the same folder where publish folder is kept
-
Execute the docker commands from the parent folder where publish and docker file is kept
-
Insall chrome-
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - sudo sh -c 'echo "deb https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' sudo apt-get update sudo apt-get install google-chrome-stable
https://askubuntu.com/questions/79280/how-to-install-chrome-browser-properly-via-command-line