Permalink
Browse files

Updates docker to Windows beta version (+1 squashed commits)

Squashed commits:

[1e5a8dc] Updates docker to Windows beta version
  • Loading branch information...
pleb committed May 26, 2016
1 parent a2644fb commit d6fb38df702cf41d08c83b0b88275166216c7805

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
@@ -1,35 +1 @@
#!/bin/bash
trap '[ "$?" -eq 0 ] || read -p "Looks like something went wrong... Press any key to continue..."' EXIT
VM=default
DOCKER_MACHINE=docker-machine.exe
echo "Setting environment variables for machine $VM..."
eval "$(${DOCKER_MACHINE} env --shell=bash $VM)"
clear
cat << EOF
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
EOF
echo -e "${BLUE}docker${NC} is configured to use the ${GREEN}$VM${NC} machine with IP ${GREEN}$($DOCKER_MACHINE ip $VM)${NC}"
echo "For help getting started, check out the docs at https://docs.docker.com"
echo "NOTE: When using interactive commands, prepend winpty. Examples: 'winpty docker run -it ...', 'winpty docker exec -it ...'."
echo
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd ${DIR}
docker-compose stop
docker-compose ps
exec "$BASH" --login -i
docker-compose stop
@@ -1,35 +1 @@
#!/bin/bash
trap '[ "$?" -eq 0 ] || read -p "Looks like something went wrong... Press any key to continue..."' EXIT
VM=default
DOCKER_MACHINE=docker-machine.exe
echo "Setting environment variables for machine $VM..."
eval "$(${DOCKER_MACHINE} env --shell=bash $VM)"
clear
cat << EOF
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
EOF
echo -e "${BLUE}docker${NC} is configured to use the ${GREEN}$VM${NC} machine with IP ${GREEN}$($DOCKER_MACHINE ip $VM)${NC}"
echo "For help getting started, check out the docs at https://docs.docker.com"
echo "NOTE: When using interactive commands, prepend winpty. Examples: 'winpty docker run -it ...', 'winpty docker exec -it ...'."
echo
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd ${DIR}
docker-compose up -d --no-recreate
docker-compose ps
exec "$BASH" --login -i
docker-compose up
@@ -2,13 +2,13 @@
<configuration>
<connectionStrings>
<clear />
<add name="postgres" connectionString="Host=127.0.0.1;Username=petapoco;Password=petapoco;Database=petapoco;Port=5001" providerName="Npgsql" />
<add name="mysql" connectionString="Server=127.0.0.1;Uid=petapoco;Pwd=petapoco;Database=petapoco;Port=5002" providerName="MySql.Data.MySqlClient" />
<add name="mariadb" connectionString="Server=127.0.0.1;Uid=petapoco;Pwd=petapoco;Database=petapoco;Port=5003" providerName="MySql.Data.MySqlClient" />
<add name="postgres" connectionString="Host=docker;Username=petapoco;Password=petapoco;Database=petapoco;Port=5001" providerName="Npgsql" />
<add name="mysql" connectionString="Server=docker;Uid=petapoco;Pwd=petapoco;Database=petapoco;Port=5002" providerName="MySql.Data.MySqlClient" />
<add name="mariadb" connectionString="Server=docker;Uid=petapoco;Pwd=petapoco;Database=petapoco;Port=5003" providerName="MySql.Data.MySqlClient" />
<add name="sqlite" connectionString="Data Source=PetaPoco.sqlite;Version=3;" providerName="System.Data.SQLite" />
<add name="mssqlce" connectionString="Data Source=petapoco.sdf" providerName="System.Data.SqlServerCe.4.0" />
<add name="mssql" connectionString="Data Source=.\SQLEXPRESS;AttachDbFileName=|DataDirectory|Databases\MSSQL\petapoco.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />
<add name="firebird" connectionString="User=SYSDBA;Password=masterkey;Database=/databases/petapoco.fdb;DataSource=localhost;Port=5004;ServerType=0;Charset=NONE;" providerName="FirebirdSql.Data.FirebirdClient" />
<add name="firebird" connectionString="User=SYSDBA;Password=masterkey;Database=/databases/petapoco.fdb;DataSource=docker;Port=5004;ServerType=0;Charset=NONE;" providerName="FirebirdSql.Data.FirebirdClient" />
</connectionStrings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />

0 comments on commit d6fb38d

Please sign in to comment.