Let’s fix the print error from CUPS
sudo service cups restart
DevOps for IoT with Win10 IoT Core, UWP, and VSTS
Windows Machine to IOT implementation
dotnet new -i RaspberryPi.Template::*
dotnet new coreiot -n HelloRaspbian
Invoke-WebRequest http://cakebuild.net/download/bootstrapper/windows -OutFile build.ps1
FROM microsoft/aspnetcore-build:2.0 AS build-env WORKDIR /app # copy csproj and restore as distinct layers COPY /src ./ RUN dotnet restore # copy everything else and build COPY . ./ RUN dotnet publish -c Release -o out -r linux-arm # build runtime image FROM microsoft/dotnet:2.0.0-runtime-stretch-arm32v7 WORKDIR /app COPY --from=build-env /app/src/RadiusNet.Web/out . ENTRYPOINT ["dotnet", "yourapp.dll"]
Kubernetes on Raspberry Pi with .NET CoreFew weeks ago I read an article written by Scott Hanselman about Kubernetes on Raspberry Pi. I thought that it would be great to build similar infrastructure on own. Thanks to Unit4, where I’m working, it was possible. I ordered all required parts and my company covered all costs.
docker exec -it bash (you can find the container-id from running docker ps -a). This will pull you into the instance with a functional bash as root (assuming there was no other explicit set up done by the image you pulled). I know the accepted answer has captured this as well, but decided to post another one that is a little more terse and obvious, as the solution didn’t pop out for me when I was reading it.
To refresh the PostgreSQL database environment variables, you need to remove the database container and its volume. When Visual Studio next runs the docker-compose project, it will recreate the database container and its associated volume with a new ‘install’ of PostGres and updated environment variables. You will lose your data, so backup first!