Skip to content

Instantly share code, notes, and snippets.

@alfonsodev
Created September 15, 2016 10:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alfonsodev/29f3b61b018ddeed46673685fbee04cf to your computer and use it in GitHub Desktop.
Save alfonsodev/29f3b61b018ddeed46673685fbee04cf to your computer and use it in GitHub Desktop.
login into linux docker for mac
27d
I found a solution,thanks to this topic https://forums.docker.com/t/change-docker-for-mac-engine-etc-files/20102/222 , the only thing I needed to do to access the docker host was use this command:
screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
username:root
password:[empty]
close session:Ctrl+a d
To change the swap size for oracle xe installation:
dd if=/dev/zero of=/var/swap.file count=2000000 bs=1024
chmod go= /var/swap.file
mkswap /var/swap.file
echo "/var/swap.file swap swap defaults 0 0" >> /etc/fstab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment