For the main, raster data that you create will be created via processing tools such as interpolation or the gridding of point data. Sometimes, we may want to rasterize a vector layer. This can be done using the Raster | Conversion | Rasterize command.
Let's load the SR_50M_alasak_nad.tif raster into the GeoPackage we have just created. You can just drag the layer in the Browser panel into the GeoPackage. It will show a message box once loaded, as in the following screenshot:
Importing a Raster layer to a GeoPackage
The Fire_Island.gpkg GeoPackage will now look like the following screenshot:
Contents of the GeoPackage
It is that simple to add data to a GeoPackage. Drag this layer into the map to check that it is actually present.